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>where
PhantomData<S>: Freeze,
impl<S> RefUnwindSafe for QueueConfig<S>where
PhantomData<S>: RefUnwindSafe,
impl<S> Send for QueueConfig<S>where
PhantomData<S>: Send,
impl<S> Sync for QueueConfig<S>where
PhantomData<S>: Sync,
impl<S> Unpin for QueueConfig<S>where
PhantomData<S>: Unpin,
impl<S> UnsafeUnpin for QueueConfig<S>where
PhantomData<S>: UnsafeUnpin,
impl<S> UnwindSafe for QueueConfig<S>where
PhantomData<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