pub struct Lingered {
pub end: LingerEnd,
pub reads: u64,
pub discarded: u64,
}Expand description
Outcome of a lingering close, including proof of the discarded input.
Fields§
§end: LingerEndWhy discarding stopped.
reads: u64Non-empty reads performed after the half-close.
discarded: u64Peer bytes read and discarded after the half-close.
Trait Implementations§
impl Copy for Lingered
impl Eq for Lingered
impl StructuralPartialEq for Lingered
Auto Trait Implementations§
impl Forget for Lingered
impl Freeze for Lingered
impl RefUnwindSafe for Lingered
impl Send for Lingered
impl Sync for Lingered
impl Unpin for Lingered
impl UnsafeUnpin for Lingered
impl UnwindSafe for Lingered
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