pub struct Linger;
Expand description
When enabled, a close(2) or shutdown(2) will not return until all queued messages for the socket have been successfully sent or the linger timeout has been reached.
Trait Implementations
sourceimpl GetSockOpt for Linger
impl GetSockOpt for Linger
sourceimpl SetSockOpt for Linger
impl SetSockOpt for Linger
impl Copy for Linger
impl Eq for Linger
impl StructuralEq for Linger
impl StructuralPartialEq for Linger
Auto Trait Implementations
impl RefUnwindSafe for Linger
impl Send for Linger
impl Sync for Linger
impl Unpin for Linger
impl UnwindSafe for Linger
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more