Struct domain::rdata::rfc4034::Rrsig [−][src]
Implementations
impl<Octets, Name> Rrsig<Octets, Name>
[src]
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
[src]
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
[src]
pub fn algorithm(&self) -> SecAlg
[src]
pub fn labels(&self) -> u8
[src]
pub fn original_ttl(&self) -> u32
[src]
pub fn expiration(&self) -> Serial
[src]
pub fn inception(&self) -> Serial
[src]
pub fn key_tag(&self) -> u16
[src]
pub fn signer_name(&self) -> &Name
[src]
pub fn signature(&self) -> &Octets
[src]
pub fn set_signature(&mut self, signature: Octets)
[src]
Trait Implementations
impl<N, NN, O, OO> CanonicalOrd<Rrsig<OO, NN>> for Rrsig<O, N> where
N: ToDname,
NN: ToDname,
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
[src]
N: ToDname,
NN: ToDname,
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
fn canonical_cmp(&self, other: &Rrsig<OO, NN>) -> Ordering
[src]
#[must_use]fn canonical_lt(&self, other: &Rhs) -> bool
[src]
#[must_use]fn canonical_le(&self, other: &Rhs) -> bool
[src]
#[must_use]fn canonical_gt(&self, other: &Rhs) -> bool
[src]
#[must_use]fn canonical_ge(&self, other: &Rhs) -> bool
[src]
impl<Octets: Clone, Name: Clone> Clone for Rrsig<Octets, Name>
[src]
impl<Octets: AsRef<[u8]>, Name: Compose> Compose for Rrsig<Octets, Name>
[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, Name> Debug for Rrsig<Octets, Name> where
Octets: AsRef<[u8]>,
Name: Debug,
[src]
Octets: AsRef<[u8]>,
Name: Debug,
impl<Octets, Name> Display for Rrsig<Octets, Name> where
Octets: AsRef<[u8]>,
Name: Display,
[src]
Octets: AsRef<[u8]>,
Name: Display,
impl<Octets, Name> Eq for Rrsig<Octets, Name> where
Octets: AsRef<[u8]>,
Name: ToDname,
[src]
Octets: AsRef<[u8]>,
Name: ToDname,
impl<O, N> From<Rrsig<O, N>> for MasterRecordData<O, N>
[src]
impl<O, N> From<Rrsig<O, N>> for AllRecordData<O, N>
[src]
impl<O: AsRef<[u8]>, N: Hash> Hash for Rrsig<O, N>
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<Octets, SrcOctets, Name, SrcName> OctetsFrom<Rrsig<SrcOctets, SrcName>> for Rrsig<Octets, Name> where
Octets: OctetsFrom<SrcOctets>,
Name: OctetsFrom<SrcName>,
[src]
Octets: OctetsFrom<SrcOctets>,
Name: OctetsFrom<SrcName>,
fn octets_from(source: Rrsig<SrcOctets, SrcName>) -> Result<Self, ShortBuf>
[src]
impl<O: AsRef<[u8]>, N: ToDname> Ord for Rrsig<O, N>
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<Ref: OctetsRef> Parse<Ref> for Rrsig<Ref::Range, ParsedDname<Ref>>
[src]
fn parse(parser: &mut Parser<Ref>) -> Result<Self, ParseError>
[src]
fn skip(parser: &mut Parser<Ref>) -> Result<(), ParseError>
[src]
impl<N, NN, O, OO> PartialEq<Rrsig<OO, NN>> for Rrsig<O, N> where
N: ToDname,
NN: ToDname,
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
[src]
N: ToDname,
NN: ToDname,
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
fn eq(&self, other: &Rrsig<OO, NN>) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<N, NN, O, OO> PartialOrd<Rrsig<OO, NN>> for Rrsig<O, N> where
N: ToDname,
NN: ToDname,
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
[src]
N: ToDname,
NN: ToDname,
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
fn partial_cmp(&self, other: &Rrsig<OO, NN>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<Octets, Name> RtypeRecordData for Rrsig<Octets, Name>
[src]
Auto Trait Implementations
impl<Octets, Name> RefUnwindSafe for Rrsig<Octets, Name> where
Name: RefUnwindSafe,
Octets: RefUnwindSafe,
Name: RefUnwindSafe,
Octets: RefUnwindSafe,
impl<Octets, Name> Send for Rrsig<Octets, Name> where
Name: Send,
Octets: Send,
Name: Send,
Octets: Send,
impl<Octets, Name> Sync for Rrsig<Octets, Name> where
Name: Sync,
Octets: Sync,
Name: Sync,
Octets: Sync,
impl<Octets, Name> Unpin for Rrsig<Octets, Name> where
Name: Unpin,
Octets: Unpin,
Name: Unpin,
Octets: Unpin,
impl<Octets, Name> UnwindSafe for Rrsig<Octets, Name> where
Name: UnwindSafe,
Octets: UnwindSafe,
Name: 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,
pub 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<Source, Target> OctetsInto<Target> for Source where
Target: OctetsFrom<Source>,
[src]
Target: OctetsFrom<Source>,
pub fn octets_into(Self) -> Result<Target, ShortBuf>
[src]
impl<Octets, T> ParseRecordData<Octets> for T where
T: RtypeRecordData + Parse<Octets> + Compose,
[src]
T: RtypeRecordData + Parse<Octets> + Compose,
pub fn parse_data(Rtype, &mut Parser<Octets>) -> Result<Option<T>, ParseError>
[src]
impl<T> RecordData for T where
T: RtypeRecordData + Compose,
[src]
T: RtypeRecordData + Compose,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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.
pub 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.
pub 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>,