pub struct Rrsig<Octets, Name> { /* private fields */ }
Implementations§
source§impl<Octets, Name> Rrsig<Octets, Name>
impl<Octets, Name> Rrsig<Octets, Name>
pub fn new( type_covered: Rtype, algorithm: SecAlg, labels: u8, original_ttl: u32, expiration: Serial, inception: Serial, key_tag: u16, signer_name: Name, signature: Octets ) -> Self
pub fn type_covered(&self) -> Rtype
pub fn algorithm(&self) -> SecAlg
pub fn labels(&self) -> u8
pub fn original_ttl(&self) -> u32
pub fn expiration(&self) -> Serial
pub fn inception(&self) -> Serial
pub fn key_tag(&self) -> u16
pub fn signer_name(&self) -> &Name
pub fn signature(&self) -> &Octets
pub fn set_signature(&mut self, signature: Octets)
source§impl<SrcOctets, Ref> Rrsig<SrcOctets, ParsedDname<Ref>>where
SrcOctets: AsRef<[u8]>,
Ref: OctetsRef,
impl<SrcOctets, Ref> Rrsig<SrcOctets, ParsedDname<Ref>>where SrcOctets: AsRef<[u8]>, Ref: OctetsRef,
pub fn flatten_into<Octets>( self ) -> Result<Rrsig<Octets, Dname<Octets>>, PushError>where Octets: OctetsFrom<SrcOctets> + FromBuilder, <Octets as FromBuilder>::Builder: EmptyBuilder,
Trait Implementations§
source§impl<N, NN, O, OO> CanonicalOrd<Rrsig<OO, NN>> for Rrsig<O, N>where
N: ToDname,
NN: ToDname,
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
impl<N, NN, O, OO> CanonicalOrd<Rrsig<OO, NN>> for Rrsig<O, N>where N: ToDname, NN: ToDname, O: AsRef<[u8]>, OO: AsRef<[u8]>,
source§fn canonical_cmp(&self, other: &Rrsig<OO, NN>) -> Ordering
fn canonical_cmp(&self, other: &Rrsig<OO, NN>) -> Ordering
Returns the canonical ordering between
self
and other
.source§fn canonical_lt(&self, other: &Rhs) -> bool
fn canonical_lt(&self, other: &Rhs) -> bool
Returns whether
self
is canonically less than other
.source§fn canonical_le(&self, other: &Rhs) -> bool
fn canonical_le(&self, other: &Rhs) -> bool
Returns whether
self
is canonically less than or equal to other
.source§fn canonical_gt(&self, other: &Rhs) -> bool
fn canonical_gt(&self, other: &Rhs) -> bool
Returns whether
self
is canonically greater than other
.source§fn canonical_ge(&self, other: &Rhs) -> bool
fn canonical_ge(&self, other: &Rhs) -> bool
Returns whether
self
is canonically greater than or equal to other
.source§impl<Octets: AsRef<[u8]>, Name: Compose> Compose for Rrsig<Octets, Name>
impl<Octets: AsRef<[u8]>, Name: Compose> Compose for Rrsig<Octets, Name>
source§impl<O, N> From<Rrsig<O, N>> for AllRecordData<O, N>
impl<O, N> From<Rrsig<O, N>> for AllRecordData<O, N>
source§impl<O, N> From<Rrsig<O, N>> for ZoneRecordData<O, N>
impl<O, N> From<Rrsig<O, N>> for ZoneRecordData<O, N>
source§impl<Octets, SrcOctets, Name, SrcName> OctetsFrom<Rrsig<SrcOctets, SrcName>> for Rrsig<Octets, Name>where
Octets: OctetsFrom<SrcOctets>,
Name: OctetsFrom<SrcName>,
impl<Octets, SrcOctets, Name, SrcName> OctetsFrom<Rrsig<SrcOctets, SrcName>> for Rrsig<Octets, Name>where Octets: OctetsFrom<SrcOctets>, Name: OctetsFrom<SrcName>,
source§impl<O: AsRef<[u8]>, N: ToDname> Ord for Rrsig<O, N>
impl<O: AsRef<[u8]>, N: ToDname> Ord for Rrsig<O, N>
source§impl<N, NN, O, OO> PartialEq<Rrsig<OO, NN>> for Rrsig<O, N>where
N: ToDname,
NN: ToDname,
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
impl<N, NN, O, OO> PartialEq<Rrsig<OO, NN>> for Rrsig<O, N>where N: ToDname, NN: ToDname, O: AsRef<[u8]>, OO: AsRef<[u8]>,
source§impl<N, NN, O, OO> PartialOrd<Rrsig<OO, NN>> for Rrsig<O, N>where
N: ToDname,
NN: ToDname,
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
impl<N, NN, O, OO> PartialOrd<Rrsig<OO, NN>> for Rrsig<O, N>where N: ToDname, NN: ToDname, O: AsRef<[u8]>, OO: AsRef<[u8]>,
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<Octets, Name> RtypeRecordData for Rrsig<Octets, Name>
impl<Octets, Name> RtypeRecordData for Rrsig<Octets, Name>
impl<Octets, Name> Eq for Rrsig<Octets, Name>where Octets: AsRef<[u8]>, Name: ToDname,
Auto Trait Implementations§
impl<Octets, Name> RefUnwindSafe for Rrsig<Octets, Name>where Name: RefUnwindSafe, Octets: RefUnwindSafe,
impl<Octets, Name> Send for Rrsig<Octets, Name>where Name: Send, Octets: Send,
impl<Octets, Name> Sync for Rrsig<Octets, Name>where Name: Sync, Octets: Sync,
impl<Octets, Name> Unpin for Rrsig<Octets, Name>where Name: Unpin, Octets: Unpin,
impl<Octets, Name> UnwindSafe for Rrsig<Octets, Name>where Name: UnwindSafe, Octets: 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