#[non_exhaustive]pub struct Config { /* private fields */ }Available on crate feature
unstable only.Expand description
Flash driver configuration.
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Implementations§
Source§impl Config
impl Config
Sourcepub fn with_multi_core_strategy(
self,
multi_core_strategy: MultiCoreStrategy,
) -> Self
pub fn with_multi_core_strategy( self, multi_core_strategy: MultiCoreStrategy, ) -> Self
Assign the given value to the multi_core_strategy field.
Sourcepub fn multi_core_strategy(&self) -> MultiCoreStrategy
pub fn multi_core_strategy(&self) -> MultiCoreStrategy
Strategy for the other core during flash operations.
MultiCoreStrategy::ignore is safe only when the other core cannot
fetch from flash during the operation.
Default: MultiCoreStrategy::AutoPark.
Trait Implementations§
impl Copy for Config
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)