pub struct TransferChunk {
pub lba: u64,
pub block_count: u32,
pub byte_offset: usize,
pub byte_len: usize,
/* private fields */
}Fields§
§lba: u64§block_count: u32§byte_offset: usize§byte_len: usizeImplementations§
Source§impl TransferChunk
impl TransferChunk
pub fn segments(self) -> TransferSegments ⓘ
Trait Implementations§
Source§impl Clone for TransferChunk
impl Clone for TransferChunk
Source§fn clone(&self) -> TransferChunk
fn clone(&self) -> TransferChunk
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 moreimpl Copy for TransferChunk
Source§impl Debug for TransferChunk
impl Debug for TransferChunk
impl Eq for TransferChunk
Source§impl PartialEq for TransferChunk
impl PartialEq for TransferChunk
Source§fn eq(&self, other: &TransferChunk) -> bool
fn eq(&self, other: &TransferChunk) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TransferChunk
Auto Trait Implementations§
impl Freeze for TransferChunk
impl RefUnwindSafe for TransferChunk
impl Send for TransferChunk
impl Sync for TransferChunk
impl Unpin for TransferChunk
impl UnsafeUnpin for TransferChunk
impl UnwindSafe for TransferChunk
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