#[repr(u8)]pub enum ErrorCodeNetworkType {
Ansi136AccessDeniedReason = 1,
Is95AccessDeniedReason = 2,
Gsm = 3,
Ansi136CauseCode = 4,
Is95CauseCode = 5,
Ansi41Error = 6,
SmppError = 7,
MessageCenterSpecific = 8,
Other(u8),
}
Variants§
Ansi136AccessDeniedReason = 1
Is95AccessDeniedReason = 2
Gsm = 3
Ansi136CauseCode = 4
Is95CauseCode = 5
Ansi41Error = 6
SmppError = 7
MessageCenterSpecific = 8
Other(u8)
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for ErrorCodeNetworkType
impl<'arbitrary> Arbitrary<'arbitrary> for ErrorCodeNetworkType
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 ErrorCodeNetworkType
impl Clone for ErrorCodeNetworkType
Source§fn clone(&self) -> ErrorCodeNetworkType
fn clone(&self) -> ErrorCodeNetworkType
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 ErrorCodeNetworkType
impl Debug for ErrorCodeNetworkType
Source§impl Decode for ErrorCodeNetworkType
impl Decode for ErrorCodeNetworkType
Source§impl Default for ErrorCodeNetworkType
impl Default for ErrorCodeNetworkType
Source§fn default() -> ErrorCodeNetworkType
fn default() -> ErrorCodeNetworkType
Returns the “default value” for a type. Read more
Source§impl Encode for ErrorCodeNetworkType
impl Encode for ErrorCodeNetworkType
Source§impl From<ErrorCodeNetworkType> for u8
impl From<ErrorCodeNetworkType> for u8
Source§fn from(value: ErrorCodeNetworkType) -> Self
fn from(value: ErrorCodeNetworkType) -> Self
Converts to this type from the input type.
Source§impl From<u8> for ErrorCodeNetworkType
impl From<u8> for ErrorCodeNetworkType
Source§impl Hash for ErrorCodeNetworkType
impl Hash for ErrorCodeNetworkType
Source§impl Ord for ErrorCodeNetworkType
impl Ord for ErrorCodeNetworkType
Source§fn cmp(&self, other: &ErrorCodeNetworkType) -> Ordering
fn cmp(&self, other: &ErrorCodeNetworkType) -> 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 ErrorCodeNetworkType
impl PartialEq for ErrorCodeNetworkType
Source§impl PartialOrd for ErrorCodeNetworkType
impl PartialOrd for ErrorCodeNetworkType
impl Copy for ErrorCodeNetworkType
impl Eq for ErrorCodeNetworkType
impl StructuralPartialEq for ErrorCodeNetworkType
Auto Trait Implementations§
impl Freeze for ErrorCodeNetworkType
impl RefUnwindSafe for ErrorCodeNetworkType
impl Send for ErrorCodeNetworkType
impl Sync for ErrorCodeNetworkType
impl Unpin for ErrorCodeNetworkType
impl UnwindSafe for ErrorCodeNetworkType
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