Un-export some exposed parse() functions
This commit is contained in:
parent
acb5d98550
commit
64e7b4aa24
4 changed files with 6 additions and 6 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
|
|
@ -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> {
|
||||
|
|
|
|||
|
|
@ -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> {
|
||||
|
|
|
|||
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue