pub enum NoteError {
}Variants§
I2cWriteError
I2cReadError
DeserError(String<256>)
SerError
InvalidRequest
Request does not end with ‘\n’.
RemainingData
TimeOut
BufOverflow
WrongState
Method called when notecarrier is in invalid state.
DFUInProgress
Notecard firmware is being updated.
NonPortNoteInPackageMode
Notecard is in NTN mode and regular packages can’t be added.
FileStorageFull(String<256>)
Notecard filesystem full
ErrorAddingNote(String<256>)
Error Adding Note
NotecardErr(String<256>)
Implementations§
Source§impl NoteError
impl NoteError
pub fn new_desererror(msg: &[u8]) -> NoteError
pub fn string_err(_e: Infallible) -> NoteError
Trait Implementations§
Source§impl From<NotecardError> for NoteError
impl From<NotecardError> for NoteError
Source§fn from(n: NotecardError) -> NoteError
fn from(n: NotecardError) -> NoteError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NoteError
impl RefUnwindSafe for NoteError
impl Send for NoteError
impl Sync for NoteError
impl Unpin for NoteError
impl UnwindSafe for NoteError
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