pub enum Error {
IncomingQueueFull,
OutgoingQueueFull,
GrantInProgress,
QueueEmpty,
AlreadySplit,
InvalidParameters,
MaximumPacketExceeded,
InternalError,
MaximumAttempts,
}Expand description
Crate-wide error type
Variants§
IncomingQueueFull
Unable to add item to the incoming queue, queue is full. After issuing this error, EsbIrq will be put in the Idle state
OutgoingQueueFull
Unable to add item to the outgoing queue, queue is full
GrantInProgress
Grant already in progress
QueueEmpty
Unable to pop item from the queue, queue is empty
AlreadySplit
Unable to split to producer/consumer halves, the buffer has already been split
InvalidParameters
Values out of range
MaximumPacketExceeded
InternalError
Internal Error, if you encounter this error, please report it, it is a bug
MaximumAttempts
Trait Implementations§
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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