#[non_exhaustive]
pub enum Error {
Show 19 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,
}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
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.