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§
source§impl GetSockOpt for Linger
impl GetSockOpt for Linger
source§impl SetSockOpt for Linger
impl SetSockOpt for Linger
impl Copy for Linger
impl Eq for Linger
impl StructuralPartialEq for Linger
Auto Trait Implementations§
impl Freeze for Linger
impl RefUnwindSafe for Linger
impl Send for Linger
impl Sync for Linger
impl Unpin for Linger
impl UnwindSafe for Linger
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)