Enum dfu_core::DfuProtocol
source · pub enum DfuProtocol<M> {
Dfu,
Dfuse {
address: u32,
memory_layout: M,
},
}
Expand description
The DFU protocol variant in use
Variants§
Implementations§
Auto Trait Implementations§
impl<M> RefUnwindSafe for DfuProtocol<M>where M: RefUnwindSafe,
impl<M> Send for DfuProtocol<M>where M: Send,
impl<M> Sync for DfuProtocol<M>where M: Sync,
impl<M> Unpin for DfuProtocol<M>where M: Unpin,
impl<M> UnwindSafe for DfuProtocol<M>where M: 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