pub enum Delivery {
NotSent,
PossiblySent,
}Expand description
What the local connection can prove after transferring application bytes.
Variants§
NotSent
No application byte entered irreversible transport write ownership.
PossiblySent
Some or all application bytes entered irreversible transport ownership and may have reached the peer.
Implementations§
Source§impl Delivery
impl Delivery
Sourcepub const fn possibly_sent(self) -> Self
pub const fn possibly_sent(self) -> Self
Weakens certainty once transport write ownership begins.
Trait Implementations§
impl Copy for Delivery
impl Eq for Delivery
impl StructuralPartialEq for Delivery
Auto Trait Implementations§
impl Freeze for Delivery
impl RefUnwindSafe for Delivery
impl Send for Delivery
impl Sync for Delivery
impl Unpin for Delivery
impl UnsafeUnpin for Delivery
impl UnwindSafe for Delivery
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