pub enum AtError<'a> {
UnknownCommand,
NotSupported,
InvalidArgs,
Unhandled(&'a str),
UnhandledOwned(String),
}Expand description
Error types that can occur during AT command processing
Variants§
UnknownCommand
The command is not recognized
NotSupported
The command is recognized but not supported
InvalidArgs
The command arguments are invalid
Unhandled(&'a str)
Unhandled error with description
UnhandledOwned(String)
Unhandled error with description owned
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AtError<'a>
impl<'a> RefUnwindSafe for AtError<'a>
impl<'a> Send for AtError<'a>
impl<'a> Sync for AtError<'a>
impl<'a> Unpin for AtError<'a>
impl<'a> UnsafeUnpin for AtError<'a>
impl<'a> UnwindSafe for AtError<'a>
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