pub struct Address {
pub addr_type: u16,
pub data: Vec<u8>,
}Expand description
A network address the ticket is bound to (rarely populated in modern deployments). v0.1 keeps the raw wire triple so a round-trip is byte-exact even for exotic values.
Fields§
§addr_type: u16MIT ADDRTYPE_* — 2 for IPv4, 24 for IPv6, etc.
data: Vec<u8>Raw address bytes as stored in the file.
Trait Implementations§
impl Eq for Address
impl StructuralPartialEq for Address
Auto Trait Implementations§
impl Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnsafeUnpin for Address
impl UnwindSafe for Address
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