pub struct QueueConfig<S> { /* private fields */ }Expand description
Configuration for a queue
Implementations§
Source§impl<S: NorFlash> QueueConfig<S>
impl<S: NorFlash> QueueConfig<S>
Sourcepub const fn new(flash_range: Range<u32>) -> Self
pub const fn new(flash_range: Range<u32>) -> Self
Create a new queue configuration. Will panic if the data is invalid.
If you want a fallible version, use Self::try_new.
Auto Trait Implementations§
impl<S> Freeze for QueueConfig<S>
impl<S> RefUnwindSafe for QueueConfig<S>where
S: RefUnwindSafe,
impl<S> Send for QueueConfig<S>where
S: Send,
impl<S> Sync for QueueConfig<S>where
S: Sync,
impl<S> Unpin for QueueConfig<S>where
S: Unpin,
impl<S> UnwindSafe for QueueConfig<S>where
S: UnwindSafe,
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