Enum nrfxlib::Error [−][src]
pub enum Error { Nordic(&'static str, i32, i32), AtError(AtError), BadDataFormat, HostnameTooLong, UnrecognisedValue, WriteError, TooManySockets, }
Expand description
The set of error codes we can get from this API.
Variants
An error was returned by the Nordic library. We supply a string
descriptor, the return code, and the value of errno
.
AtError(AtError)
An AT error (ERROR
, +CMS ERROR
or +CME ERROR
) was returned by the modem.
Data returned by the modem was not in a format we could understand.
Given hostname was too long for internal buffers to hold
Unrecognised value from AT interface
A socket write error occurred
Too many sockets given
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self