pub struct TKey<'a> {
pub algorithm: DnsName<'a>,
pub inception: u32,
pub expiration: u32,
pub mode: u16,
pub error: u16,
pub key: Characters<'a>,
pub other: Characters<'a>,
}Expand description
§Transaction key record (TKEY)
This record is used to establish a shared key between two hosts.
Fields§
§algorithm: DnsName<'a>The algorithm used to generate the key.
inception: u32The time the key was generated.
expiration: u32The time the key will expire.
mode: u16The mode of the key.
error: u16The error that occurred.
key: Characters<'a>The key data.
other: Characters<'a>The other data.
Trait Implementations§
impl<'a> Copy for TKey<'a>
impl<'a> StructuralPartialEq for TKey<'a>
Auto Trait Implementations§
impl<'a> Freeze for TKey<'a>
impl<'a> RefUnwindSafe for TKey<'a>
impl<'a> Send for TKey<'a>
impl<'a> Sync for TKey<'a>
impl<'a> Unpin for TKey<'a>
impl<'a> UnwindSafe for TKey<'a>
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