pub struct MyPeerType(/* private fields */);Trait Implementations§
Source§impl Debug for MyPeerType
impl Debug for MyPeerType
Source§impl Deref for MyPeerType
impl Deref for MyPeerType
Source§impl From<PeerType> for MyPeerType
impl From<PeerType> for MyPeerType
Source§impl FromStr for MyPeerType
impl FromStr for MyPeerType
Source§impl PartialEq for MyPeerType
impl PartialEq for MyPeerType
impl Eq for MyPeerType
impl StructuralPartialEq for MyPeerType
Auto Trait Implementations§
impl Freeze for MyPeerType
impl RefUnwindSafe for MyPeerType
impl Send for MyPeerType
impl Sync for MyPeerType
impl Unpin for MyPeerType
impl UnwindSafe for MyPeerType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
Source§fn try_octets_into(
self,
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self, ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
Source§fn octets_into(self) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.