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
)