Enum tm4c123x_hal::eeprom::EepromError
source · pub enum EepromError {
Busy,
AddressOutOfBounds,
BlockOutOfBounds,
OffsetOutOfBounds,
WriteWouldOverflow,
ReadWouldOverflow,
ReadBufferTooSmall,
}
Expand description
Possible errors for the Flash memory module
Variants§
Busy
Eeprom is not finished
AddressOutOfBounds
Address is out of bounds
BlockOutOfBounds
Block is out of bounds
OffsetOutOfBounds
Offset is out of bounds
WriteWouldOverflow
Indicates that writing data would exceed the EEPROM memory space
ReadWouldOverflow
Indicates that reading data would exceed the EEPROM memory space
ReadBufferTooSmall
Requesting to read more data than the provided buffer can hold
Trait Implementations§
source§impl Debug for EepromError
impl Debug for EepromError
source§impl Display for EepromError
impl Display for EepromError
source§impl PartialEq<EepromError> for EepromError
impl PartialEq<EepromError> for EepromError
source§fn eq(&self, other: &EepromError) -> bool
fn eq(&self, other: &EepromError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EepromError
Auto Trait Implementations§
impl RefUnwindSafe for EepromError
impl Send for EepromError
impl Sync for EepromError
impl Unpin for EepromError
impl UnwindSafe for EepromError
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