#[repr(u8)]pub enum InterfaceVersion {
Smpp3_3OrEarlier(u8),
Smpp3_4 = 52,
Smpp5_0 = 80,
Other(u8),
}Variants§
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for InterfaceVersion
impl<'arbitrary> Arbitrary<'arbitrary> for InterfaceVersion
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 InterfaceVersion
impl Clone for InterfaceVersion
Source§fn clone(&self) -> InterfaceVersion
fn clone(&self) -> InterfaceVersion
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InterfaceVersion
impl Debug for InterfaceVersion
Source§impl<'a> Decode<'a> for InterfaceVersion
impl<'a> Decode<'a> for InterfaceVersion
Source§impl Decode for InterfaceVersion
Available on crate feature alloc only.
impl Decode for InterfaceVersion
Available on crate feature
alloc only.Source§impl Default for InterfaceVersion
impl Default for InterfaceVersion
Source§fn default() -> InterfaceVersion
fn default() -> InterfaceVersion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InterfaceVersion
impl<'de> Deserialize<'de> for InterfaceVersion
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 InterfaceVersion
impl Encode for InterfaceVersion
Source§impl Encode for InterfaceVersion
Available on crate feature alloc only.
impl Encode for InterfaceVersion
Available on crate feature
alloc only.Source§impl From<InterfaceVersion> for u8
impl From<InterfaceVersion> for u8
Source§fn from(value: InterfaceVersion) -> Self
fn from(value: InterfaceVersion) -> Self
Converts to this type from the input type.
Source§impl From<u8> for InterfaceVersion
impl From<u8> for InterfaceVersion
Source§impl Hash for InterfaceVersion
impl Hash for InterfaceVersion
Source§impl Ord for InterfaceVersion
impl Ord for InterfaceVersion
Source§impl PartialEq for InterfaceVersion
impl PartialEq for InterfaceVersion
Source§impl PartialOrd for InterfaceVersion
impl PartialOrd for InterfaceVersion
Source§impl Serialize for InterfaceVersion
impl Serialize for InterfaceVersion
impl Copy for InterfaceVersion
impl Eq for InterfaceVersion
impl StructuralPartialEq for InterfaceVersion
Auto Trait Implementations§
impl Freeze for InterfaceVersion
impl RefUnwindSafe for InterfaceVersion
impl Send for InterfaceVersion
impl Sync for InterfaceVersion
impl Unpin for InterfaceVersion
impl UnwindSafe for InterfaceVersion
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)