Trait domain::base::name::FlattenInto

source ·
pub trait FlattenInto<Target>: Sized {
    type AppendError: Into<ShortBuf>;

    // Required method
    fn try_flatten_into(self) -> Result<Target, Self::AppendError>;

    // Provided method
    fn flatten_into(self) -> Target
       where Self::AppendError: Into<Infallible> { ... }
}

Required Associated Types§

Required Methods§

source

fn try_flatten_into(self) -> Result<Target, Self::AppendError>

Provided Methods§

source

fn flatten_into(self) -> Target
where Self::AppendError: Into<Infallible>,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<L, R, Target> FlattenInto<Dname<Target>> for Chain<L, R>
where L: ToRelativeDname, R: ToDname + FlattenInto<Dname<Target>, AppendError = BuilderAppendError<Target>>, Target: FromBuilder, <Target as FromBuilder>::Builder: EmptyBuilder,

source§

impl<Name, TName> FlattenInto<ProtoRrsig<TName>> for ProtoRrsig<Name>
where Name: FlattenInto<TName>,

§

type AppendError = <Name as FlattenInto<TName>>::AppendError

source§

impl<Name, TName> FlattenInto<Minfo<TName>> for Minfo<Name>
where Name: FlattenInto<TName>,

§

type AppendError = <Name as FlattenInto<TName>>::AppendError

source§

impl<Name, TName> FlattenInto<Mx<TName>> for Mx<Name>
where Name: FlattenInto<TName>,

§

type AppendError = <Name as FlattenInto<TName>>::AppendError

source§

impl<Name, TName> FlattenInto<Soa<TName>> for Soa<Name>
where Name: FlattenInto<TName>,

§

type AppendError = <Name as FlattenInto<TName>>::AppendError

source§

impl<Name, TName, Data, TData> FlattenInto<Record<TName, TData>> for Record<Name, Data>
where Name: FlattenInto<TName>, Data: FlattenInto<TData, AppendError = Name::AppendError>,

§

type AppendError = <Name as FlattenInto<TName>>::AppendError

source§

impl<Name, Target> FlattenInto<Dname<Target>> for domain::rdata::dname::Dname<Name>
where Name: FlattenInto<Target>,

§

type AppendError = <Name as FlattenInto<Target>>::AppendError

source§

impl<Name, Target> FlattenInto<Cname<Target>> for Cname<Name>
where Name: FlattenInto<Target>,

§

type AppendError = <Name as FlattenInto<Target>>::AppendError

source§

impl<Name, Target> FlattenInto<Mb<Target>> for Mb<Name>
where Name: FlattenInto<Target>,

§

type AppendError = <Name as FlattenInto<Target>>::AppendError

source§

impl<Name, Target> FlattenInto<Md<Target>> for Md<Name>
where Name: FlattenInto<Target>,

§

type AppendError = <Name as FlattenInto<Target>>::AppendError

source§

impl<Name, Target> FlattenInto<Mf<Target>> for Mf<Name>
where Name: FlattenInto<Target>,

§

type AppendError = <Name as FlattenInto<Target>>::AppendError

source§

impl<Name, Target> FlattenInto<Mg<Target>> for Mg<Name>
where Name: FlattenInto<Target>,

§

type AppendError = <Name as FlattenInto<Target>>::AppendError

source§

impl<Name, Target> FlattenInto<Mr<Target>> for Mr<Name>
where Name: FlattenInto<Target>,

§

type AppendError = <Name as FlattenInto<Target>>::AppendError

source§

impl<Name, Target> FlattenInto<Ns<Target>> for Ns<Name>
where Name: FlattenInto<Target>,

§

type AppendError = <Name as FlattenInto<Target>>::AppendError

source§

impl<Name, Target> FlattenInto<Ptr<Target>> for Ptr<Name>
where Name: FlattenInto<Target>,

§

type AppendError = <Name as FlattenInto<Target>>::AppendError

source§

impl<Name: FlattenInto<TName>, TName> FlattenInto<Srv<TName>> for Srv<Name>

§

type AppendError = <Name as FlattenInto<TName>>::AppendError

source§

impl<Octets, TargetOctets, Name, TargetName> FlattenInto<AllRecordData<TargetOctets, TargetName>> for AllRecordData<Octets, Name>
where TargetOctets: OctetsFrom<Octets>, Name: FlattenInto<TargetName, AppendError = TargetOctets::Error>,

§

type AppendError = <TargetOctets as OctetsFrom<Octets>>::Error

source§

impl<Octets, TargetOctets, Name, TargetName> FlattenInto<ZoneRecordData<TargetOctets, TargetName>> for ZoneRecordData<Octets, Name>
where TargetOctets: OctetsFrom<Octets>, Name: FlattenInto<TargetName, AppendError = TargetOctets::Error>,

§

type AppendError = <TargetOctets as OctetsFrom<Octets>>::Error

source§

impl<Octs, TOcts, Name, TName> FlattenInto<Nsec<TOcts, TName>> for Nsec<Octs, Name>
where TOcts: OctetsFrom<Octs>, Name: FlattenInto<TName, AppendError = TOcts::Error>,

§

type AppendError = <TOcts as OctetsFrom<Octs>>::Error

source§

impl<Octs, TOcts, Name, TName> FlattenInto<Rrsig<TOcts, TName>> for Rrsig<Octs, Name>
where TOcts: OctetsFrom<Octs>, Name: FlattenInto<TName, AppendError = TOcts::Error>,

§

type AppendError = <TOcts as OctetsFrom<Octs>>::Error

source§

impl<Octs, TOcts, Name, TName> FlattenInto<Tsig<TOcts, TName>> for Tsig<Octs, Name>
where TOcts: OctetsFrom<Octs>, Name: FlattenInto<TName, AppendError = TOcts::Error>,

§

type AppendError = <TOcts as OctetsFrom<Octs>>::Error

source§

impl<Octs, Target> FlattenInto<Dname<Target>> for domain::base::name::Dname<Octs>
where Target: OctetsFrom<Octs>,

§

type AppendError = <Target as OctetsFrom<Octs>>::Error

source§

impl<Octs, Target> FlattenInto<Dname<Target>> for ParsedDname<Octs>
where Octs: Octets, Target: FromBuilder, <Target as FromBuilder>::Builder: EmptyBuilder,

source§

impl<Variant, Octs, TOcts, Name, TName> FlattenInto<SvcbRdata<Variant, TOcts, TName>> for SvcbRdata<Variant, Octs, Name>
where TOcts: OctetsFrom<Octs>, Name: FlattenInto<TName, AppendError = TOcts::Error>,

§

type AppendError = <TOcts as OctetsFrom<Octs>>::Error