pub struct Svcb<O, N> { /* private fields */ }
Expand description
Struct has priority and target decoded, but not parameters.
Provides a iter
method to iterate through each parameter.
Implementations§
source§impl<Ref> Svcb<Ref::Range, ParsedDname<Ref>>where
Ref: OctetsRef,
impl<Ref> Svcb<Ref::Range, ParsedDname<Ref>>where Ref: OctetsRef,
pub fn flatten_into<Octets>( self ) -> Result<Svcb<Octets, Dname<Octets>>, PushError>where Octets: OctetsFrom<Ref::Range> + FromBuilder, <Octets as FromBuilder>::Builder: EmptyBuilder,
source§impl<OB: OctetsBuilder, N> Svcb<OB, N>
impl<OB: OctetsBuilder, N> Svcb<OB, N>
Trait Implementations§
source§impl<O: AsRef<[u8]>, N: Compose> Compose for Svcb<O, N>
impl<O: AsRef<[u8]>, N: Compose> Compose for Svcb<O, N>
source§impl<O, N> From<Svcb<O, N>> for AllRecordData<O, N>
impl<O, N> From<Svcb<O, N>> for AllRecordData<O, N>
source§impl<O, OO, N, NN> OctetsFrom<Svcb<O, N>> for Svcb<OO, NN>where
OO: OctetsFrom<O>,
NN: OctetsFrom<N>,
impl<O, OO, N, NN> OctetsFrom<Svcb<O, N>> for Svcb<OO, NN>where OO: OctetsFrom<O>, NN: OctetsFrom<N>,
source§impl<O, OO, N, NN> PartialEq<Svcb<OO, NN>> for Svcb<O, N>where
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
N: ToDname,
NN: ToDname,
impl<O, OO, N, NN> PartialEq<Svcb<OO, NN>> for Svcb<O, N>where O: AsRef<[u8]>, OO: AsRef<[u8]>, N: ToDname, NN: ToDname,
source§impl<O, N> RtypeRecordData for Svcb<O, N>
impl<O, N> RtypeRecordData for Svcb<O, N>
impl<O: AsRef<[u8]>, N: ToDname> Eq for Svcb<O, N>
Auto Trait Implementations§
impl<O, N> RefUnwindSafe for Svcb<O, N>where N: RefUnwindSafe, O: RefUnwindSafe,
impl<O, N> Send for Svcb<O, N>where N: Send, O: Send,
impl<O, N> Sync for Svcb<O, N>where N: Sync, O: Sync,
impl<O, N> Unpin for Svcb<O, N>where N: Unpin, O: Unpin,
impl<O, N> UnwindSafe for Svcb<O, N>where N: UnwindSafe, O: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere Target: OctetsFrom<Source>,
source§fn octets_into(self) -> Result<Target, ShortBuf>
fn octets_into(self) -> Result<Target, ShortBuf>
Performs the conversion.
source§impl<Octets, T> ParseRecordData<Octets> for Twhere
T: RtypeRecordData + Parse<Octets> + Compose,
impl<Octets, T> ParseRecordData<Octets> for Twhere T: RtypeRecordData + Parse<Octets> + Compose,
source§fn parse_data(
rtype: Rtype,
parser: &mut Parser<Octets>
) -> Result<Option<T>, ParseError>
fn parse_data( rtype: Rtype, parser: &mut Parser<Octets> ) -> Result<Option<T>, ParseError>
Parses the record data. Read more