pub enum WakeResult {
Successful,
NotSupported,
}Expand description
Result of attempting to register a wake callback.
Variants§
Successful
The callback was registered and will fire exactly once on the next readiness
edge (a push or a transition to closed) of the backing queue.
NotSupported
The stream cannot deliver a readiness signal; the caller must self-wake.
Trait Implementations§
Source§impl Clone for WakeResult
impl Clone for WakeResult
impl Copy for WakeResult
Source§impl Debug for WakeResult
impl Debug for WakeResult
impl Eq for WakeResult
Source§impl PartialEq for WakeResult
impl PartialEq for WakeResult
impl StructuralPartialEq for WakeResult
Auto Trait Implementations§
impl Freeze for WakeResult
impl RefUnwindSafe for WakeResult
impl Send for WakeResult
impl Sync for WakeResult
impl Unpin for WakeResult
impl UnsafeUnpin for WakeResult
impl UnwindSafe for WakeResult
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