[][src]Struct domain::base::opt::rfc7873::Cookie

pub struct Cookie(_);

Implementations

impl Cookie[src]

pub fn new(cookie: [u8; 8]) -> Self[src]

pub fn push<Target: OctetsBuilder>(
    builder: &mut OptBuilder<Target>,
    cookie: [u8; 8]
) -> Result<(), ShortBuf>
[src]

pub fn cookie(self) -> [u8; 8][src]

Trait Implementations

impl Clone for Cookie[src]

impl CodeOptData for Cookie[src]

impl Compose for Cookie[src]

impl Copy for Cookie[src]

impl Debug for Cookie[src]

impl Eq for Cookie[src]

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

impl Hash for Cookie[src]

impl Ord for Cookie[src]

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

impl PartialEq<Cookie> for Cookie[src]

impl PartialOrd<Cookie> for Cookie[src]

impl StructuralEq for Cookie[src]

impl StructuralPartialEq for Cookie[src]

Auto Trait Implementations

impl RefUnwindSafe for Cookie

impl Send for Cookie

impl Sync for Cookie

impl Unpin for Cookie

impl UnwindSafe for Cookie

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>,