Struct linger
#[repr(C)]
pub struct linger { pub l_onoff: c_int, pub l_linger: c_int }
Fields
l_onoff: c_intl_linger: c_int
Trait Implementations
impl Clone for linger
fn clone(&self) -> Self
impl Copy for linger
impl Debug for linger
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for linger
impl Hash for linger
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for linger
fn eq(&self, other: &Self) -> bool
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 UnsafeUnpin for linger
impl UnwindSafe for linger
Blanket Implementations
impl<T> Any for linger
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for linger
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for linger
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for linger
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for linger
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for linger
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for linger
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for linger
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>