pub struct RcodeReserved(u8);
Expand description
A struct with a private constructor, to ensure invalid Rcode
s
cannot be created.
Tuple Fields§
§0: u8
Trait Implementations§
Source§impl Clone for RcodeReserved
impl Clone for RcodeReserved
Source§fn clone(&self) -> RcodeReserved
fn clone(&self) -> RcodeReserved
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 RcodeReserved
impl Debug for RcodeReserved
Source§impl Hash for RcodeReserved
impl Hash for RcodeReserved
Source§impl Ord for RcodeReserved
impl Ord for RcodeReserved
Source§fn cmp(&self, other: &RcodeReserved) -> Ordering
fn cmp(&self, other: &RcodeReserved) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RcodeReserved
impl PartialEq for RcodeReserved
Source§impl PartialOrd for RcodeReserved
impl PartialOrd for RcodeReserved
impl Copy for RcodeReserved
impl Eq for RcodeReserved
impl StructuralPartialEq for RcodeReserved
Auto Trait Implementations§
impl Freeze for RcodeReserved
impl RefUnwindSafe for RcodeReserved
impl Send for RcodeReserved
impl Sync for RcodeReserved
impl Unpin for RcodeReserved
impl UnwindSafe for RcodeReserved
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