pub struct BlockCompletion {
pub request_id: u32,
pub status: u8,
pub bytes_transferred: u32,
}Expand description
Result of a completed block I/O operation.
Fields§
§request_id: u32Request ID (for matching with submit)
status: u8Status: 0 = success, non-zero = error
bytes_transferred: u32Bytes transferred
Trait Implementations§
Source§impl Clone for BlockCompletion
impl Clone for BlockCompletion
Source§fn clone(&self) -> BlockCompletion
fn clone(&self) -> BlockCompletion
Returns a copy 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 moreSource§impl Debug for BlockCompletion
impl Debug for BlockCompletion
impl Copy for BlockCompletion
Auto Trait Implementations§
impl Freeze for BlockCompletion
impl RefUnwindSafe for BlockCompletion
impl Send for BlockCompletion
impl Sync for BlockCompletion
impl Unpin for BlockCompletion
impl UnwindSafe for BlockCompletion
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