pub enum Delivered {
ToThePeer,
NobodyAsked,
PeerGone,
}Expand description
Where a refusal ended up.
Three states rather than a Result, because “nobody asked” and “the
one who asked has gone” are different facts: the first is the
schedule working normally, and the second is worth a diagnostic line.
Variants§
Trait Implementations§
impl Copy for Delivered
impl Eq for Delivered
impl StructuralPartialEq for Delivered
Auto Trait Implementations§
impl Freeze for Delivered
impl RefUnwindSafe for Delivered
impl Send for Delivered
impl Sync for Delivered
impl Unpin for Delivered
impl UnsafeUnpin for Delivered
impl UnwindSafe for Delivered
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