#[repr(u8)]pub enum DestAddrNpResolution {
QueryNotPerformed = 0,
QueryPerformedNumberNotPorted = 1,
QueryPerformedNumberPorted = 2,
Other(u8),
}Variants§
Trait Implementations§
Source§impl Clone for DestAddrNpResolution
impl Clone for DestAddrNpResolution
Source§fn clone(&self) -> DestAddrNpResolution
fn clone(&self) -> DestAddrNpResolution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DestAddrNpResolution
Source§impl Debug for DestAddrNpResolution
impl Debug for DestAddrNpResolution
Source§impl<'a> Decode<'a> for DestAddrNpResolution
impl<'a> Decode<'a> for DestAddrNpResolution
Source§fn decode(src: &'a [u8]) -> Result<(DestAddrNpResolution, usize), DecodeError>
fn decode(src: &'a [u8]) -> Result<(DestAddrNpResolution, usize), DecodeError>
Decode a value from a slice.
Source§impl Default for DestAddrNpResolution
impl Default for DestAddrNpResolution
Source§fn default() -> DestAddrNpResolution
fn default() -> DestAddrNpResolution
Returns the “default value” for a type. Read more
Source§impl Encode for DestAddrNpResolution
impl Encode for DestAddrNpResolution
impl Eq for DestAddrNpResolution
Source§impl From<u8> for DestAddrNpResolution
impl From<u8> for DestAddrNpResolution
Source§fn from(value: u8) -> DestAddrNpResolution
fn from(value: u8) -> DestAddrNpResolution
Converts to this type from the input type.
Source§impl Hash for DestAddrNpResolution
impl Hash for DestAddrNpResolution
Source§impl Ord for DestAddrNpResolution
impl Ord for DestAddrNpResolution
Source§fn cmp(&self, other: &DestAddrNpResolution) -> Ordering
fn cmp(&self, other: &DestAddrNpResolution) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DestAddrNpResolution
impl PartialEq for DestAddrNpResolution
Source§impl PartialOrd for DestAddrNpResolution
impl PartialOrd for DestAddrNpResolution
impl StructuralPartialEq for DestAddrNpResolution
Auto Trait Implementations§
impl Freeze for DestAddrNpResolution
impl RefUnwindSafe for DestAddrNpResolution
impl Send for DestAddrNpResolution
impl Sync for DestAddrNpResolution
impl Unpin for DestAddrNpResolution
impl UnsafeUnpin for DestAddrNpResolution
impl UnwindSafe for DestAddrNpResolution
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