pub enum PortWaitResult {
Signal {
key: u64,
observed: Signals,
},
Notification {
kind: NotifyKind,
},
TimedOut,
}
Expand description
The result of a call to [PortEvent.wait
].
Variants§
Signal
Signals asserted on an object.
Notification
A notification to wake up waiters.
Fields
§
kind: NotifyKind
TimedOut
Wait timed out.
Trait Implementations§
Source§impl Debug for PortWaitResult
impl Debug for PortWaitResult
Source§impl PartialEq for PortWaitResult
impl PartialEq for PortWaitResult
impl Eq for PortWaitResult
impl StructuralPartialEq for PortWaitResult
Auto Trait Implementations§
impl Freeze for PortWaitResult
impl RefUnwindSafe for PortWaitResult
impl Send for PortWaitResult
impl Sync for PortWaitResult
impl Unpin for PortWaitResult
impl UnwindSafe for PortWaitResult
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