#[repr(C)]pub struct CdbReadTrackInformation {
pub operation_code: ScsiOp,
pub flag: ReadTrackInfoFlag,
pub logical_track_number: U32<BigEndian>,
pub reserved: u8,
pub allocation_length: U16<BigEndian>,
pub control: u8,
}
Fields§
§operation_code: ScsiOp
§flag: ReadTrackInfoFlag
§logical_track_number: U32<BigEndian>
§reserved: u8
§allocation_length: U16<BigEndian>
§control: u8
Trait Implementations§
Source§impl Clone for CdbReadTrackInformation
impl Clone for CdbReadTrackInformation
Source§fn clone(&self) -> CdbReadTrackInformation
fn clone(&self) -> CdbReadTrackInformation
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 FromBytes for CdbReadTrackInformationwhere
ScsiOp: FromBytes,
ReadTrackInfoFlag: FromBytes,
U32<BigEndian>: FromBytes,
u8: FromBytes,
U16<BigEndian>: FromBytes,
impl FromBytes for CdbReadTrackInformationwhere
ScsiOp: FromBytes,
ReadTrackInfoFlag: FromBytes,
U32<BigEndian>: FromBytes,
u8: FromBytes,
U16<BigEndian>: FromBytes,
Source§impl FromZeros for CdbReadTrackInformationwhere
ScsiOp: FromZeros,
ReadTrackInfoFlag: FromZeros,
U32<BigEndian>: FromZeros,
u8: FromZeros,
U16<BigEndian>: FromZeros,
impl FromZeros for CdbReadTrackInformationwhere
ScsiOp: FromZeros,
ReadTrackInfoFlag: FromZeros,
U32<BigEndian>: FromZeros,
u8: FromZeros,
U16<BigEndian>: FromZeros,
§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Creates an instance of
Self
from zeroed bytes. Read more§fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
Creates a
Box<Self>
from zeroed bytes. Read more§fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
Creates a
Vec<Self>
from zeroed bytes. Read moreSource§impl TryFromBytes for CdbReadTrackInformationwhere
ScsiOp: TryFromBytes,
ReadTrackInfoFlag: TryFromBytes,
U32<BigEndian>: TryFromBytes,
u8: TryFromBytes,
U16<BigEndian>: TryFromBytes,
impl TryFromBytes for CdbReadTrackInformationwhere
ScsiOp: TryFromBytes,
ReadTrackInfoFlag: TryFromBytes,
U32<BigEndian>: TryFromBytes,
u8: TryFromBytes,
U16<BigEndian>: TryFromBytes,
§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for CdbReadTrackInformation
Auto Trait Implementations§
impl Freeze for CdbReadTrackInformation
impl RefUnwindSafe for CdbReadTrackInformation
impl Send for CdbReadTrackInformation
impl Sync for CdbReadTrackInformation
impl Unpin for CdbReadTrackInformation
impl UnwindSafe for CdbReadTrackInformation
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