#[non_exhaustive]pub enum Error {
Show 21 variants
ModemNotInitialized,
GnssAlreadyTaken,
NrfError(isize),
BufferTooSmall(Option<usize>),
OutOfMemory,
AtParseError(ParseError),
InvalidSystemModeConfig,
StringNotNulTerminated,
Utf8Error,
LteRegistrationDenied,
SimFailure,
UnexpectedAtResponse,
HostnameNotAscii,
HostnameTooLong,
AddressNotFound,
SocketOptionError(SocketOptionError),
OperationCancelled,
SmsNumberNotAscii,
Disconnected,
TooManyLteLinks,
InternalRuntimeMutexLocked,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ModemNotInitialized
GnssAlreadyTaken
NrfError(isize)
BufferTooSmall(Option<usize>)
OutOfMemory
AtParseError(ParseError)
InvalidSystemModeConfig
StringNotNulTerminated
Utf8Error
LteRegistrationDenied
SimFailure
UnexpectedAtResponse
HostnameNotAscii
HostnameTooLong
AddressNotFound
SocketOptionError(SocketOptionError)
OperationCancelled
The ongoing operation has been cancelled by the user
SmsNumberNotAscii
Disconnected
TooManyLteLinks
InternalRuntimeMutexLocked
Trait Implementations§
source§impl From<ParseError> for Error
impl From<ParseError> for Error
source§fn from(e: ParseError) -> Self
fn from(e: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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