pub enum ReceivedMessage<F>where
F: Format,{
Stream(StreamMessage),
Request(ReceivedRequestHandle<F>),
}
Expand description
An incoming message from a remote peer.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<F> !RefUnwindSafe for ReceivedMessage<F>
impl<F> Send for ReceivedMessage<F>
impl<F> Sync for ReceivedMessage<F>
impl<F> Unpin for ReceivedMessage<F>
impl<F> !UnwindSafe for ReceivedMessage<F>
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