pub enum RecvEvent {
Data {
len: u32,
bid: u16,
},
Discarded {
len: u32,
},
Eof,
Cancelled,
Starved,
Failed(i32),
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RecvEvent
impl RefUnwindSafe for RecvEvent
impl Send for RecvEvent
impl Sync for RecvEvent
impl Unpin for RecvEvent
impl UnsafeUnpin for RecvEvent
impl UnwindSafe for RecvEvent
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