pub enum MpscMsg {
Event(ProtocolEvent),
InitFrame(InitFrame),
}
Expand description
used for implementing your own MPSC Sink
and Drain
Variants§
Event(ProtocolEvent)
InitFrame(InitFrame)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MpscMsg
impl Send for MpscMsg
impl Sync for MpscMsg
impl Unpin for MpscMsg
impl UnwindSafe for MpscMsg
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