#[repr(u8)]pub enum DestAddrNpResolution {
QueryNotPerformed = 0,
QueryPerformedNumberNotPorted = 1,
QueryPerformedNumberPorted = 2,
Other(u8),
}Variants§
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for DestAddrNpResolution
impl<'arbitrary> Arbitrary<'arbitrary> for DestAddrNpResolution
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured this type
needs to construct itself. Read moreSource§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 · 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 DestAddrNpResolution
impl Debug for DestAddrNpResolution
Source§impl<'a> Decode<'a> for DestAddrNpResolution
impl<'a> Decode<'a> for DestAddrNpResolution
Source§impl Decode for DestAddrNpResolution
impl Decode for DestAddrNpResolution
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<'de> Deserialize<'de> for DestAddrNpResolution
impl<'de> Deserialize<'de> for DestAddrNpResolution
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Encode for DestAddrNpResolution
impl Encode for DestAddrNpResolution
Source§impl From<DestAddrNpResolution> for u8
impl From<DestAddrNpResolution> for u8
Source§fn from(value: DestAddrNpResolution) -> Self
fn from(value: DestAddrNpResolution) -> Self
Converts to this type from the input type.
Source§impl From<u8> for DestAddrNpResolution
impl From<u8> for DestAddrNpResolution
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 · 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 DestAddrNpResolution
impl PartialEq for DestAddrNpResolution
Source§impl PartialOrd for DestAddrNpResolution
impl PartialOrd for DestAddrNpResolution
Source§impl Serialize for DestAddrNpResolution
impl Serialize for DestAddrNpResolution
impl Copy for DestAddrNpResolution
impl Eq 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 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