pub enum ModuleFwFlash<'a> {
Header(IterableHeader<'a>),
FileName(&'a CStr),
Password(u32),
Status(u32),
StatusMsg(&'a CStr),
Done(u32),
Total(u32),
}Available on crate feature
ethtool only.Variants§
Header(IterableHeader<'a>)
FileName(&'a CStr)
Password(u32)
Status(u32)
Associated type: ModuleFwFlashStatus (enum)
StatusMsg(&'a CStr)
Done(u32)
Total(u32)
Implementations§
Source§impl ModuleFwFlash<'_>
impl ModuleFwFlash<'_>
pub fn new<'a>(buf: &'a [u8]) -> IterableModuleFwFlash<'a> ⓘ
Trait Implementations§
Source§impl<'a> Clone for ModuleFwFlash<'a>
impl<'a> Clone for ModuleFwFlash<'a>
Source§fn clone(&self) -> ModuleFwFlash<'a>
fn clone(&self) -> ModuleFwFlash<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for ModuleFwFlash<'a>
impl<'a> RefUnwindSafe for ModuleFwFlash<'a>
impl<'a> Send for ModuleFwFlash<'a>
impl<'a> Sync for ModuleFwFlash<'a>
impl<'a> Unpin for ModuleFwFlash<'a>
impl<'a> UnsafeUnpin for ModuleFwFlash<'a>
impl<'a> UnwindSafe for ModuleFwFlash<'a>
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