pub struct OffloadReadResponse {
pub all_zero_beyond_current_range: Boolean,
pub transfer_length: u64,
pub token: [u8; 512],
/* private fields */
}Expand description
Fields§
§all_zero_beyond_current_range: BooleanThe data beyond the current range is logically equivalent to zero.
transfer_length: u64contains the amount, in bytes, of data that the Token logically represents. This value indicates a contiguous region of the file from the beginning of the requested offset in the input. This value can be smaller than the CopyLength field specified in the request data element, which indicates that less data was logically represented (logically read) with the Token than was requested.
token: [u8; 512]The generated Token to be used as a representation of the data contained within the portion of the file specified in the input request. The contents of this field MUST NOT be modified during subsequent operations.
Trait Implementations§
Source§impl BinRead for OffloadReadResponse
impl BinRead for OffloadReadResponse
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<Self>
Source§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
big-endian byte order. Read moreSource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
little-endian byte order. Read moreSource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T from the reader assuming native-endian byte order. Read moreSource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader, assuming big-endian byte order, using the
given arguments. Read moreSource§impl BinWrite for OffloadReadResponse
impl BinWrite for OffloadReadResponse
Source§fn write_options<W: Write + Seek>(
&self,
__binrw_generated_var_writer: &mut W,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<()>
fn write_options<W: Write + Seek>( &self, __binrw_generated_var_writer: &mut W, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<()>
Source§fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming big-endian byte order. Read moreSource§fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming little-endian byte order. Read moreSource§fn write_ne<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_ne<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming native-endian byte order. Read moreSource§fn write_be_args<W>(
&self,
writer: &mut W,
args: Self::Args<'_>,
) -> Result<(), Error>
fn write_be_args<W>( &self, writer: &mut W, args: Self::Args<'_>, ) -> Result<(), Error>
Write
Self to the writer, assuming big-endian byte order, using the
given arguments. Read moreSource§impl Debug for OffloadReadResponse
impl Debug for OffloadReadResponse
Source§impl FsctlResponseContent for OffloadReadResponse
impl FsctlResponseContent for OffloadReadResponse
const FSCTL_CODES: &'static [FsctlCodes]
Source§impl PartialEq for OffloadReadResponse
impl PartialEq for OffloadReadResponse
impl Eq for OffloadReadResponse
impl StructuralPartialEq for OffloadReadResponse
Auto Trait Implementations§
impl Freeze for OffloadReadResponse
impl RefUnwindSafe for OffloadReadResponse
impl Send for OffloadReadResponse
impl Sync for OffloadReadResponse
impl Unpin for OffloadReadResponse
impl UnwindSafe for OffloadReadResponse
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