#[repr(u16)]pub enum CmsError {
Show 23 variants
MeFailure = 300,
SmsServiceReserved = 301,
NotAllowed = 302,
NotSupported = 303,
InvalidPduParameter = 304,
InvalidTextParameter = 305,
SimNotInserted = 310,
SimPin = 311,
PhSimPin = 312,
SimFailure = 313,
SimBusy = 314,
SimWrong = 315,
SimPuk = 316,
SimPin2 = 317,
SimPuk2 = 318,
MemoryFailure = 320,
InvalidIndex = 321,
MemoryFull = 322,
SmscAddressUnknown = 330,
NoNetwork = 331,
NetworkTimeout = 332,
NoCnmaAckExpected = 340,
Unknown = 500,
}
Expand description
Enumeration of message errors, as defined in 3GPP TS 27.005 version 10 section 3.2.5.
0 -> 127 per 3GPP TS 24.011 [6] clause E.2 128 -> 255 per 3GPP TS 23.040 [3] clause 9.2.3.22
Variants§
MeFailure = 300
nick=MeFailure
SmsServiceReserved = 301
nick=SmsServiceReserved
NotAllowed = 302
nick=NotAllowed
NotSupported = 303
nick=NotSupported
InvalidPduParameter = 304
nick=InvalidPduParameter
InvalidTextParameter = 305
nick=InvalidTextParameter
SimNotInserted = 310
nick=SimNotInserted
SimPin = 311
nick=SimPin
PhSimPin = 312
nick=PhSimPin
SimFailure = 313
nick=SimFailure
SimBusy = 314
nick=SimBusy
SimWrong = 315
nick=SimWrong
SimPuk = 316
nick=SimPuk
SimPin2 = 317
nick=SimPin2
SimPuk2 = 318
nick=SimPuk2
MemoryFailure = 320
nick=MemoryFailure
InvalidIndex = 321
nick=InvalidIndex
MemoryFull = 322
nick=MemoryFull
SmscAddressUnknown = 330
nick=SmscAddressUnknown
NoNetwork = 331
nick=NoNetwork
NetworkTimeout = 332
nick=NetworkTimeout
NoCnmaAckExpected = 340
nick=NoCnmaAckExpected
Unknown = 500
nick=Unknown
Implementations§
Trait Implementations§
source§impl PartialEq for CmsError
impl PartialEq for CmsError
impl Copy for CmsError
impl Eq for CmsError
impl StructuralPartialEq for CmsError
Auto Trait Implementations§
impl Freeze for CmsError
impl RefUnwindSafe for CmsError
impl Send for CmsError
impl Sync for CmsError
impl Unpin for CmsError
impl UnwindSafe for CmsError
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