pub enum QueryFileSystemInfo {
FsAttributeInformation(FileFsAttributeInformation),
FsControlInformation(FileFsControlInformation),
FsDeviceInformation(FileFsDeviceInformation),
FsFullSizeInformation(FileFsFullSizeInformation),
FsObjectIdInformation(FileFsObjectIdInformation),
FsSectorSizeInformation(FileFsSectorSizeInformation),
FsSizeInformation(FileFsSizeInformation),
FsVolumeInformation(FileFsVolumeInformation),
}Variants§
FsAttributeInformation(FileFsAttributeInformation)
FsControlInformation(FileFsControlInformation)
FsDeviceInformation(FileFsDeviceInformation)
FsFullSizeInformation(FileFsFullSizeInformation)
FsObjectIdInformation(FileFsObjectIdInformation)
FsSectorSizeInformation(FileFsSectorSizeInformation)
FsSizeInformation(FileFsSizeInformation)
FsVolumeInformation(FileFsVolumeInformation)
Trait Implementations§
Source§impl BinRead for QueryFileSystemInfo
impl BinRead for QueryFileSystemInfo
Source§type Args<'__binrw_generated_args_lifetime> = (QueryFileSystemInfoClass,)
type Args<'__binrw_generated_args_lifetime> = (QueryFileSystemInfoClass,)
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<R>(reader: &mut R) -> Result<Self, Error>
fn read<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments. Read moreSource§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_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader using the given arguments. 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 QueryFileSystemInfo
impl BinWrite for QueryFileSystemInfo
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<W>(&self, writer: &mut W) -> Result<(), Error>
fn write<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer using default arguments. Read moreSource§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_args<W>(
&self,
writer: &mut W,
args: Self::Args<'_>,
) -> Result<(), Error>
fn write_args<W>( &self, writer: &mut W, args: Self::Args<'_>, ) -> Result<(), Error>
Write
Self to the writer using the given arguments. 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 QueryFileSystemInfo
impl Debug for QueryFileSystemInfo
Source§impl FileInfoType for QueryFileSystemInfo
impl FileInfoType for QueryFileSystemInfo
Source§impl From<FileFsAttributeInformation> for QueryFileSystemInfo
impl From<FileFsAttributeInformation> for QueryFileSystemInfo
Source§fn from(value: FileFsAttributeInformation) -> QueryFileSystemInfo
fn from(value: FileFsAttributeInformation) -> QueryFileSystemInfo
Converts to this type from the input type.
Source§impl From<FileFsControlInformation> for QueryFileSystemInfo
impl From<FileFsControlInformation> for QueryFileSystemInfo
Source§fn from(value: FileFsControlInformation) -> QueryFileSystemInfo
fn from(value: FileFsControlInformation) -> QueryFileSystemInfo
Converts to this type from the input type.
Source§impl From<FileFsDeviceInformation> for QueryFileSystemInfo
impl From<FileFsDeviceInformation> for QueryFileSystemInfo
Source§fn from(value: FileFsDeviceInformation) -> QueryFileSystemInfo
fn from(value: FileFsDeviceInformation) -> QueryFileSystemInfo
Converts to this type from the input type.
Source§impl From<FileFsFullSizeInformation> for QueryFileSystemInfo
impl From<FileFsFullSizeInformation> for QueryFileSystemInfo
Source§fn from(value: FileFsFullSizeInformation) -> QueryFileSystemInfo
fn from(value: FileFsFullSizeInformation) -> QueryFileSystemInfo
Converts to this type from the input type.
Source§impl From<FileFsObjectIdInformation> for QueryFileSystemInfo
impl From<FileFsObjectIdInformation> for QueryFileSystemInfo
Source§fn from(value: FileFsObjectIdInformation) -> QueryFileSystemInfo
fn from(value: FileFsObjectIdInformation) -> QueryFileSystemInfo
Converts to this type from the input type.
Source§impl From<FileFsSectorSizeInformation> for QueryFileSystemInfo
impl From<FileFsSectorSizeInformation> for QueryFileSystemInfo
Source§fn from(value: FileFsSectorSizeInformation) -> QueryFileSystemInfo
fn from(value: FileFsSectorSizeInformation) -> QueryFileSystemInfo
Converts to this type from the input type.
Source§impl From<FileFsSizeInformation> for QueryFileSystemInfo
impl From<FileFsSizeInformation> for QueryFileSystemInfo
Source§fn from(value: FileFsSizeInformation) -> QueryFileSystemInfo
fn from(value: FileFsSizeInformation) -> QueryFileSystemInfo
Converts to this type from the input type.
Source§impl From<FileFsVolumeInformation> for QueryFileSystemInfo
impl From<FileFsVolumeInformation> for QueryFileSystemInfo
Source§fn from(value: FileFsVolumeInformation) -> QueryFileSystemInfo
fn from(value: FileFsVolumeInformation) -> QueryFileSystemInfo
Converts to this type from the input type.
Source§impl PartialEq for QueryFileSystemInfo
impl PartialEq for QueryFileSystemInfo
Source§impl ReadEndian for QueryFileSystemInfo
impl ReadEndian for QueryFileSystemInfo
Source§const ENDIAN: EndianKind
const ENDIAN: EndianKind
The endianness of the type.
Source§impl TryFrom<QueryFileSystemInfo> for FileFsAttributeInformation
impl TryFrom<QueryFileSystemInfo> for FileFsAttributeInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileSystemInfo> for FileFsControlInformation
impl TryFrom<QueryFileSystemInfo> for FileFsControlInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileSystemInfo> for FileFsDeviceInformation
impl TryFrom<QueryFileSystemInfo> for FileFsDeviceInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileSystemInfo> for FileFsFullSizeInformation
impl TryFrom<QueryFileSystemInfo> for FileFsFullSizeInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileSystemInfo> for FileFsObjectIdInformation
impl TryFrom<QueryFileSystemInfo> for FileFsObjectIdInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileSystemInfo> for FileFsSectorSizeInformation
impl TryFrom<QueryFileSystemInfo> for FileFsSectorSizeInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileSystemInfo> for FileFsSizeInformation
impl TryFrom<QueryFileSystemInfo> for FileFsSizeInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileSystemInfo> for FileFsVolumeInformation
impl TryFrom<QueryFileSystemInfo> for FileFsVolumeInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl WriteEndian for QueryFileSystemInfo
impl WriteEndian for QueryFileSystemInfo
Source§const ENDIAN: EndianKind
const ENDIAN: EndianKind
The endianness of the type.
impl Eq for QueryFileSystemInfo
impl StructuralPartialEq for QueryFileSystemInfo
Auto Trait Implementations§
impl Freeze for QueryFileSystemInfo
impl RefUnwindSafe for QueryFileSystemInfo
impl Send for QueryFileSystemInfo
impl Sync for QueryFileSystemInfo
impl Unpin for QueryFileSystemInfo
impl UnwindSafe for QueryFileSystemInfo
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