#[repr(u8)]pub enum DataCoding {
Show 17 variants
McSpecific = 0,
Ia5 = 1,
OctetUnspecified = 2,
Latin1 = 3,
OctetUnspecified2 = 4,
Jis = 5,
Cyrillic = 6,
LatinHebrew = 7,
Ucs2 = 8,
PictogramEncoding = 9,
Iso2022JpMusicCodes = 10,
ExtendedKanjiJis = 13,
Ksc5601 = 14,
GsmMwiControl = 192,
GsmMwiControl2 = 208,
GsmMessageClassControl = 224,
Other(u8),
}Variants§
McSpecific = 0
Ia5 = 1
OctetUnspecified = 2
Latin1 = 3
OctetUnspecified2 = 4
Jis = 5
Cyrillic = 6
LatinHebrew = 7
Ucs2 = 8
PictogramEncoding = 9
Iso2022JpMusicCodes = 10
ExtendedKanjiJis = 13
Ksc5601 = 14
GsmMwiControl = 192
GsmMwiControl2 = 208
GsmMessageClassControl = 224
Other(u8)
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for DataCoding
impl<'arbitrary> Arbitrary<'arbitrary> for DataCoding
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 DataCoding
impl Clone for DataCoding
Source§fn clone(&self) -> DataCoding
fn clone(&self) -> DataCoding
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 DataCoding
impl Debug for DataCoding
Source§impl<'a> Decode<'a> for DataCoding
impl<'a> Decode<'a> for DataCoding
Source§impl Decode for DataCoding
impl Decode for DataCoding
Source§impl Default for DataCoding
impl Default for DataCoding
Source§fn default() -> DataCoding
fn default() -> DataCoding
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DataCoding
impl<'de> Deserialize<'de> for DataCoding
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 DataCoding
impl Encode for DataCoding
Source§impl From<DataCoding> for u8
impl From<DataCoding> for u8
Source§fn from(value: DataCoding) -> Self
fn from(value: DataCoding) -> Self
Converts to this type from the input type.
Source§impl From<u8> for DataCoding
impl From<u8> for DataCoding
Source§impl Hash for DataCoding
impl Hash for DataCoding
Source§impl Ord for DataCoding
impl Ord for DataCoding
Source§fn cmp(&self, other: &DataCoding) -> Ordering
fn cmp(&self, other: &DataCoding) -> 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 DataCoding
impl PartialEq for DataCoding
Source§impl PartialOrd for DataCoding
impl PartialOrd for DataCoding
Source§impl Serialize for DataCoding
impl Serialize for DataCoding
impl Copy for DataCoding
impl Eq for DataCoding
impl StructuralPartialEq for DataCoding
Auto Trait Implementations§
impl Freeze for DataCoding
impl RefUnwindSafe for DataCoding
impl Send for DataCoding
impl Sync for DataCoding
impl Unpin for DataCoding
impl UnwindSafe for DataCoding
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