pub enum QueueConfigError {
StartRangeNotAtPageBoundary,
EndRangeNotAtPageBoundary,
RangeTooSmall,
PagesTooSmall,
WordSizeTooLarge,
}Expand description
Error for QueueConfig constructor
Variants§
StartRangeNotAtPageBoundary
The start range address is not a multiple of the erase size
EndRangeNotAtPageBoundary
The end range address is not a multiple of the erase size
RangeTooSmall
The queue needs at least 1 page to operate, but got less
PagesTooSmall
The pages of the flash are too small to work with
WordSizeTooLarge
The word size of the flash is bigger than [MAX_WORD_SIZE]
Trait Implementations§
Source§impl Clone for QueueConfigError
impl Clone for QueueConfigError
Source§fn clone(&self) -> QueueConfigError
fn clone(&self) -> QueueConfigError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QueueConfigError
impl Debug for QueueConfigError
impl Eq for QueueConfigError
Source§impl PartialEq for QueueConfigError
impl PartialEq for QueueConfigError
Source§fn eq(&self, other: &QueueConfigError) -> bool
fn eq(&self, other: &QueueConfigError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for QueueConfigError
Auto Trait Implementations§
impl Freeze for QueueConfigError
impl RefUnwindSafe for QueueConfigError
impl Send for QueueConfigError
impl Sync for QueueConfigError
impl Unpin for QueueConfigError
impl UnsafeUnpin for QueueConfigError
impl UnwindSafe for QueueConfigError
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