enum PingProtocolMsg {
Ping([u8; 32]),
Pong([u8; 32]),
}
Variants§
Trait Implementations§
Source§impl<'__de> BorrowDecode<'__de> for PingProtocolMsg
impl<'__de> BorrowDecode<'__de> for PingProtocolMsg
Source§fn borrow_decode<__D: BorrowDecoder<'__de>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for PingProtocolMsg
impl Clone for PingProtocolMsg
Source§fn clone(&self) -> PingProtocolMsg
fn clone(&self) -> PingProtocolMsg
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PingProtocolMsg
impl Debug for PingProtocolMsg
Source§impl Decode for PingProtocolMsg
impl Decode for PingProtocolMsg
Auto Trait Implementations§
impl Freeze for PingProtocolMsg
impl RefUnwindSafe for PingProtocolMsg
impl Send for PingProtocolMsg
impl Sync for PingProtocolMsg
impl Unpin for PingProtocolMsg
impl UnwindSafe for PingProtocolMsg
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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