pub enum XspiError {
InvalidConfiguration,
InvalidCommand,
EmptyBuffer,
}
Expand description
Error used for Xspi 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 XspiError
impl RefUnwindSafe for XspiError
impl Send for XspiError
impl Sync for XspiError
impl Unpin for XspiError
impl UnwindSafe for XspiError
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