#[repr(u8)]pub enum DfuMode {
Default = 0,
Serial = 1,
Uf2 = 2,
Ble = 3,
}Variants§
Default = 0
The platform’s fixed default, independent of the current transport.
Serial = 1
Uf2 = 2
Ble = 3
Implementations§
Trait Implementations§
impl Copy for DfuMode
impl Eq for DfuMode
impl StructuralPartialEq for DfuMode
Auto Trait Implementations§
impl Freeze for DfuMode
impl RefUnwindSafe for DfuMode
impl Send for DfuMode
impl Sync for DfuMode
impl Unpin for DfuMode
impl UnwindSafe for DfuMode
Blanket Implementations§
§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)