pub enum DisableInterface {
None,
DisableMassStorage,
DisablePicoBoot,
}Expand description
Defines which feature of the bootloader are made available after reset.
Variants§
None
Both Mass Storage and Pico boot are enabled.
DisableMassStorage
Disables Mass Storage leaving only PicoBoot.
DisablePicoBoot
Disables PicoBoot leaving only Mass Storage.
Trait Implementations§
Source§impl Clone for DisableInterface
impl Clone for DisableInterface
Source§fn clone(&self) -> DisableInterface
fn clone(&self) -> DisableInterface
Returns a duplicate of the value. Read more
1.0.0 · 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 DisableInterface
impl Debug for DisableInterface
Source§impl Format for DisableInterface
impl Format for DisableInterface
Source§impl PartialEq for DisableInterface
impl PartialEq for DisableInterface
impl Copy for DisableInterface
impl Eq for DisableInterface
impl StructuralPartialEq for DisableInterface
Auto Trait Implementations§
impl Freeze for DisableInterface
impl RefUnwindSafe for DisableInterface
impl Send for DisableInterface
impl Sync for DisableInterface
impl Unpin for DisableInterface
impl UnwindSafe for DisableInterface
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more