[−][src]Struct domain::base::opt::rfc7901::Chain
Implementations
impl<Octets> Chain<Octets>
[src]
pub fn new(start: Dname<Octets>) -> Self
[src]
pub fn push<Target: OctetsBuilder, N: ToDname>(
builder: &mut OptBuilder<Target>,
start: &N
) -> Result<(), ShortBuf>
[src]
builder: &mut OptBuilder<Target>,
start: &N
) -> Result<(), ShortBuf>
pub fn start(&self) -> &Dname<Octets>
[src]
Trait Implementations
impl<Octets: Clone> Clone for Chain<Octets>
[src]
impl<Octets> CodeOptData for Chain<Octets>
[src]
const CODE: OptionCode
[src]
impl<Octets: AsRef<[u8]>> Compose for Chain<Octets>
[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<Octets> From<Chain<Octets>> for AllOptData<Octets>
[src]
impl<Ref: OctetsRef> Parse<Ref> for Chain<Ref::Range>
[src]
Auto Trait Implementations
impl<Octets> RefUnwindSafe for Chain<Octets> where
Octets: RefUnwindSafe,
Octets: RefUnwindSafe,
impl<Octets> Send for Chain<Octets> where
Octets: Send,
Octets: Send,
impl<Octets> Sync for Chain<Octets> where
Octets: Sync,
Octets: Sync,
impl<Octets> Unpin for Chain<Octets> where
Octets: Unpin,
Octets: Unpin,
impl<Octets> UnwindSafe for Chain<Octets> where
Octets: UnwindSafe,
Octets: UnwindSafe,
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>,