[−][src]Struct domain::base::opt::rfc7873::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]
builder: &mut OptBuilder<Target>,
cookie: [u8; 8]
) -> Result<(), ShortBuf>
pub fn cookie(self) -> [u8; 8]
[src]
Trait Implementations
impl Clone for Cookie
[src]
impl CodeOptData for Cookie
[src]
const CODE: OptionCode
[src]
impl Compose for Cookie
[src]
fn compose<T: OctetsBuilder>(&self, target: &mut T) -> Result<(), ShortBuf>
[src]
fn compose_canonical<T: OctetsBuilder>(
&self,
target: &mut T
) -> Result<(), ShortBuf>
[src]
&self,
target: &mut T
) -> Result<(), ShortBuf>
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]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for Cookie
[src]
fn cmp(&self, other: &Cookie) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<Ref: AsRef<[u8]>> Parse<Ref> for Cookie
[src]
fn parse(parser: &mut Parser<Ref>) -> Result<Self, ParseError>
[src]
fn skip(parser: &mut Parser<Ref>) -> Result<(), ParseError>
[src]
impl PartialEq<Cookie> for Cookie
[src]
impl PartialOrd<Cookie> for Cookie
[src]
fn partial_cmp(&self, other: &Cookie) -> Option<Ordering>
[src]
fn lt(&self, other: &Cookie) -> bool
[src]
fn le(&self, other: &Cookie) -> bool
[src]
fn gt(&self, other: &Cookie) -> bool
[src]
fn ge(&self, other: &Cookie) -> bool
[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> OptData for T where
T: Compose + CodeOptData,
[src]
T: Compose + CodeOptData,
fn code(&Self) -> OptionCode
[src]
impl<Octets, T> ParseOptData<Octets> for T where
T: CodeOptData + Parse<Octets> + Compose,
[src]
T: CodeOptData + Parse<Octets> + Compose,
fn parse_option(
OptionCode,
&mut Parser<Octets>
) -> Result<Option<T>, ParseError>
[src]
OptionCode,
&mut Parser<Octets>
) -> Result<Option<T>, ParseError>
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,