Enum rustun::channel::RecvMessage
source · pub enum RecvMessage<A> {
Request(Request<A>),
Indication(Indication<A>),
Invalid(InvalidMessage),
}
Expand description
Received message.
Messages are received by calling Channel::poll
method.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<A> !RefUnwindSafe for RecvMessage<A>
impl<A> Send for RecvMessage<A>where
A: Send,
impl<A> Sync for RecvMessage<A>where
A: Sync,
impl<A> Unpin for RecvMessage<A>where
A: Unpin,
impl<A> !UnwindSafe for RecvMessage<A>
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