pub enum OspiError {
InvalidConfiguration,
InvalidCommand,
EmptyBuffer,
}
Expand description
Error used for Octospi implementation
Variants§
InvalidConfiguration
Peripheral configuration is invalid
InvalidCommand
Operation configuration is invalid
EmptyBuffer
Size zero buffer passed to instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OspiError
impl RefUnwindSafe for OspiError
impl Send for OspiError
impl Sync for OspiError
impl Unpin for OspiError
impl UnwindSafe for OspiError
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