[][src]Struct domain::base::opt::rfc7828::TcpKeepalive

pub struct TcpKeepalive(_);

Implementations

impl TcpKeepalive[src]

pub fn new(timeout: u16) -> Self[src]

pub fn push<Target: OctetsBuilder>(
    builder: &mut OptBuilder<Target>,
    timeout: u16
) -> Result<(), ShortBuf>
[src]

pub fn timeout(self) -> u16[src]

Trait Implementations

impl Clone for TcpKeepalive[src]

impl CodeOptData for TcpKeepalive[src]

impl Compose for TcpKeepalive[src]

impl Copy for TcpKeepalive[src]

impl Debug for TcpKeepalive[src]

impl Eq for TcpKeepalive[src]

impl<Octets> From<TcpKeepalive> for AllOptData<Octets>[src]

impl Hash for TcpKeepalive[src]

impl Ord for TcpKeepalive[src]

impl<Ref: AsRef<[u8]>> Parse<Ref> for TcpKeepalive[src]

impl PartialEq<TcpKeepalive> for TcpKeepalive[src]

impl PartialOrd<TcpKeepalive> for TcpKeepalive[src]

impl StructuralEq for TcpKeepalive[src]

impl StructuralPartialEq for TcpKeepalive[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> OptData for T where
    T: Compose + CodeOptData
[src]

impl<Octets, T> ParseOptData<Octets> for T where
    T: CodeOptData + Parse<Octets> + Compose
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,