pub struct TSig<'a> {
pub algorithm: DnsName<'a>,
pub time_signed: u64,
pub fudge: u8,
pub mac: Characters<'a>,
pub original_id: u16,
pub error: u16,
pub other: Characters<'a>,
}Expand description
§Transaction signature record (TSIG)
This record is used to authenticate dynamic updates as coming from an approved client, and to authenticate responses as coming from an approved recursive server.
Fields§
§algorithm: DnsName<'a>The name of the algorithm in domain name syntax.
time_signed: u64The time that the signature was generated.
fudge: u8The Fudge value is an unsigned 8-bit field that specifies the allowed time difference in seconds.
mac: Characters<'a>The MAC is a variable length octet string containing the message authentication code.
original_id: u16The original ID of the message.
error: u16The error field is an unsigned 16-bit field that contains the extended RCODE covering TSIG processing.
other: Characters<'a>The other field is a variable length octet string that contains information that may be used by the server to complete the transaction.
Trait Implementations§
impl<'a> Copy for TSig<'a>
impl<'a> StructuralPartialEq for TSig<'a>
Auto Trait Implementations§
impl<'a> Freeze for TSig<'a>
impl<'a> RefUnwindSafe for TSig<'a>
impl<'a> Send for TSig<'a>
impl<'a> Sync for TSig<'a>
impl<'a> Unpin for TSig<'a>
impl<'a> UnwindSafe for TSig<'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