pub struct Message<PI> { /* private fields */ }Expand description
Protocol wire message
This is the wire frame of the iroh-gossip protocol.
Implementations§
Trait Implementations§
Source§impl<'de, PI> Deserialize<'de> for Message<PI>where
    PI: Deserialize<'de>,
 
impl<'de, PI> Deserialize<'de> for Message<PI>where
    PI: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<PI> !Freeze for Message<PI>
impl<PI> RefUnwindSafe for Message<PI>where
    PI: RefUnwindSafe,
impl<PI> Send for Message<PI>where
    PI: Send,
impl<PI> Sync for Message<PI>where
    PI: Sync,
impl<PI> Unpin for Message<PI>where
    PI: Unpin,
impl<PI> UnwindSafe for Message<PI>where
    PI: UnwindSafe,
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