pub enum Cscs {
Gsm,
Ira,
Ucs2,
Hex,
}Expand description
TE character set chosen with AT+CSCS (27.007 §5.5). With a GSM 7-bit <dcs> the
modem converts <str> into it (27.007 §7.15); the parser cannot see +CSCS, so the
caller says which one is active.
Variants§
Gsm
"GSM": the characters themselves; <str> is returned as sent.
Ira
"IRA" and the other text sets ("8859-1", "PCCP437", "UTF-8"): as sent.
Ucs2
"UCS2": hex of UTF-16BE code units ("0031" → "1").
Hex
"HEX": one hex octet per unpacked GSM 7-bit character ("4869" → "Hi").
Trait Implementations§
impl Copy for Cscs
Source§impl<'de> Deserialize<'de> for Cscs
impl<'de> Deserialize<'de> for Cscs
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
impl Eq for Cscs
impl StructuralPartialEq for Cscs
Auto Trait Implementations§
impl Forget for Cscs
impl Freeze for Cscs
impl RefUnwindSafe for Cscs
impl Send for Cscs
impl Sync for Cscs
impl Unpin for Cscs
impl UnsafeUnpin for Cscs
impl UnwindSafe for Cscs
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