Struct hickory_proto::rr::serial_number::SerialNumber
source · pub struct SerialNumber(/* private fields */);
Expand description
Wrapper type to support Serial Number Arithmetics as defined in RFC 1982. The signaure fields (expireation, inception) defined in RFC 4034, section 3.1.5 are serial numbers.
Implementations§
Trait Implementations§
source§impl Add for SerialNumber
impl Add for SerialNumber
Serial Number Addition, see RFC 1982, section 3.1
The result is a wrapping add.
source§impl Clone for SerialNumber
impl Clone for SerialNumber
source§fn clone(&self) -> SerialNumber
fn clone(&self) -> SerialNumber
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SerialNumber
impl Debug for SerialNumber
source§impl PartialEq for SerialNumber
impl PartialEq for SerialNumber
source§impl PartialOrd for SerialNumber
impl PartialOrd for SerialNumber
Serial Number Comparison, see RFC 1982, section 3.2
impl Copy for SerialNumber
impl StructuralPartialEq for SerialNumber
Auto Trait Implementations§
impl Freeze for SerialNumber
impl RefUnwindSafe for SerialNumber
impl Send for SerialNumber
impl Sync for SerialNumber
impl Unpin for SerialNumber
impl UnwindSafe for SerialNumber
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)