pub struct TransferBytes(/* private fields */);Expand description
A wrapper around the transfer length field in CQHCI transfer descriptors. The raw value of 0 is interpreted as 64KiB, which is hidden behind this type for clarity (JESD84-B51A, B.3.2).
Implementations§
Trait Implementations§
Source§impl Clone for TransferBytes
impl Clone for TransferBytes
Source§fn clone(&self) -> TransferBytes
fn clone(&self) -> TransferBytes
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 moreSource§impl Debug for TransferBytes
impl Debug for TransferBytes
Source§impl From<TransferBytes> for u32
impl From<TransferBytes> for u32
Source§fn from(length: TransferBytes) -> u32
fn from(length: TransferBytes) -> u32
Converts to this type from the input type.
Source§impl PartialEq for TransferBytes
impl PartialEq for TransferBytes
Source§impl TryFrom<usize> for TransferBytes
impl TryFrom<usize> for TransferBytes
impl Copy for TransferBytes
impl Eq for TransferBytes
impl StructuralPartialEq for TransferBytes
Auto Trait Implementations§
impl Freeze for TransferBytes
impl RefUnwindSafe for TransferBytes
impl Send for TransferBytes
impl Sync for TransferBytes
impl Unpin for TransferBytes
impl UnsafeUnpin for TransferBytes
impl UnwindSafe for TransferBytes
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