pub struct NvmResponse {
pub status: u8,
pub offset_or_size: u32,
pub data: Vec<u8>,
}Expand description
A response to an NVM operation.
Fields§
§status: u8Status.
offset_or_size: u32For Open: the NVM size. For Read: the offset.
data: Vec<u8>Data read.
Implementations§
Trait Implementations§
Source§impl Clone for NvmResponse
impl Clone for NvmResponse
Source§impl Debug for NvmResponse
impl Debug for NvmResponse
impl Eq for NvmResponse
Source§impl PartialEq for NvmResponse
impl PartialEq for NvmResponse
impl StructuralPartialEq for NvmResponse
Auto Trait Implementations§
impl Freeze for NvmResponse
impl RefUnwindSafe for NvmResponse
impl Send for NvmResponse
impl Sync for NvmResponse
impl Unpin for NvmResponse
impl UnsafeUnpin for NvmResponse
impl UnwindSafe for NvmResponse
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