domain::base::name

Trait 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<Name<Target>> for Chain<L, R>
where L: ToRelativeName, R: ToName + FlattenInto<Name<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>,

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<Octs, Target> FlattenInto<Name<Target>> for Name<Octs>
where Target: OctetsFrom<Octs>,

source§

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

source§

impl<Octs, Target> FlattenInto<Name<Target>> for ParsedName<Octs>
where Octs: Octets, Target: FromBuilder, <Target as FromBuilder>::Builder: EmptyBuilder,

source§

impl<Octs, TargetOcts, Name, TargetName> FlattenInto<AllRecordData<TargetOcts, TargetName>> for AllRecordData<Octs, Name>
where TargetOcts: OctetsFrom<Octs>, Name: FlattenInto<TargetName, AppendError = TargetOcts::Error>,

source§

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

source§

impl<Octs, TargetOcts, Name, TargetName> FlattenInto<ZoneRecordData<TargetOcts, TargetName>> for ZoneRecordData<Octs, Name>
where TargetOcts: OctetsFrom<Octs>, Name: FlattenInto<TargetName, AppendError = TargetOcts::Error>,

source§

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

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

source§

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