pub struct ChannelReceivedEvent {
pub wait_ns: Option<u64>,
pub closed: bool,
}Fields§
§wait_ns: Option<u64>Observed wait duration in nanoseconds, if this operation suspended.
closed: boolTrue if the recv failed because the other side was gone.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChannelReceivedEvent
impl RefUnwindSafe for ChannelReceivedEvent
impl Send for ChannelReceivedEvent
impl Sync for ChannelReceivedEvent
impl Unpin for ChannelReceivedEvent
impl UnsafeUnpin for ChannelReceivedEvent
impl UnwindSafe for ChannelReceivedEvent
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