pub struct BlockState {
pub sector: u64,
pub buf_addr: u64,
pub last_command: u64,
pub status: u64,
pub total_reads: u64,
pub total_writes: u64,
pub disk: Vec<u8>,
}Fields§
§sector: u64§buf_addr: u64§last_command: u64§status: u64§total_reads: u64§total_writes: u64§disk: Vec<u8>Trait Implementations§
Source§impl Clone for BlockState
impl Clone for BlockState
Source§fn clone(&self) -> BlockState
fn clone(&self) -> BlockState
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 moreAuto Trait Implementations§
impl Freeze for BlockState
impl RefUnwindSafe for BlockState
impl Send for BlockState
impl Sync for BlockState
impl Unpin for BlockState
impl UnsafeUnpin for BlockState
impl UnwindSafe for BlockState
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