Struct nix::sys::socket::sockopt::Linger
pub struct Linger;
Documentation
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
impl Debug for Linger
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Hash for Linger
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl StructuralEq for Linger
impl StructuralPartialEq for Linger
Auto Trait Implementations
impl RefUnwindSafe for Linger
impl UnwindSafe for Linger
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T