Un-export some exposed parse() functions

This commit is contained in:
Conrad Hoffmann 2023-01-16 16:38:19 +01:00
parent acb5d98550
commit 64e7b4aa24
4 changed files with 6 additions and 6 deletions

View file

@ -115,7 +115,7 @@ pub struct AclResponse {
impl AclResponse {
/// Parse the given input into a [`Acl`] response.
pub fn parse(
pub(crate) fn parse(
owned: Vec<u8>,
unsolicited: &mut mpsc::Sender<UnsolicitedResponse>,
) -> Result<Self, Error> {
@ -198,7 +198,7 @@ pub struct ListRightsResponse {
impl ListRightsResponse {
/// Parse the given input into a [`ListRights`] response.
pub fn parse(
pub(crate) fn parse(
owned: Vec<u8>,
unsolicited: &mut mpsc::Sender<UnsolicitedResponse>,
) -> Result<Self, Error> {
@ -278,7 +278,7 @@ pub struct MyRightsResponse {
impl MyRightsResponse {
/// Parse the given input into a [`MyRights`] response.
pub fn parse(
pub(crate) fn parse(
owned: Vec<u8>,
unsolicited: &mut mpsc::Sender<UnsolicitedResponse>,
) -> Result<Self, Error> {

View file

@ -45,7 +45,7 @@ pub struct Capabilities {
impl Capabilities {
/// Parse the given input into one or more [`Capabilitity`] responses.
pub fn parse(
pub(crate) fn parse(
owned: Vec<u8>,
unsolicited: &mut mpsc::Sender<UnsolicitedResponse>,
) -> Result<Self, Error> {

View file

@ -26,7 +26,7 @@ pub struct Fetches {
impl Fetches {
/// Parse one or more [`Fetch`] responses from a response buffer.
pub fn parse(
pub(crate) fn parse(
owned: Vec<u8>,
unsolicited: &mut mpsc::Sender<UnsolicitedResponse>,
) -> Result<Self, Error> {

View file

@ -18,7 +18,7 @@ pub struct Names {
impl Names {
/// Parse one or more [`Name`] from a response buffer
pub fn parse(
pub(crate) fn parse(
owned: Vec<u8>,
unsolicited: &mut mpsc::Sender<UnsolicitedResponse>,
) -> Result<Self, Error> {