pub enum QueryFileInfo {
Show 20 variants
AccessInformation(FileAccessInformation),
AlignmentInformation(FileAlignmentInformation),
AllInformation(FileAllInformation),
AlternateNameInformation(FileAlternateNameInformation),
AttributeTagInformation(FileAttributeTagInformation),
BasicInformation(FileBasicInformation),
CompressionInformation(FileCompressionInformation),
EaInformation(FileEaInformation),
FullEaInformation(FileFullEaInformation),
IdInformation(FileIdInformation),
InternalInformation(FileInternalInformation),
ModeInformation(FileModeInformation),
NetworkOpenInformation(FileNetworkOpenInformation),
NormalizedNameInformation(FileNormalizedNameInformation),
PipeInformation(FilePipeInformation),
PipeLocalInformation(FilePipeLocalInformation),
PipeRemoteInformation(FilePipeRemoteInformation),
PositionInformation(FilePositionInformation),
StandardInformation(FileStandardInformation),
StreamInformation(FileStreamInformation),
}Expand description
Query file information classes.
See:
QueryFileInfoClass- class IDsQueryFileInfoValue- value trait
Auto-generated by the file_info_classes! macro
Variants§
AccessInformation(FileAccessInformation)
AlignmentInformation(FileAlignmentInformation)
AllInformation(FileAllInformation)
AlternateNameInformation(FileAlternateNameInformation)
AttributeTagInformation(FileAttributeTagInformation)
BasicInformation(FileBasicInformation)
CompressionInformation(FileCompressionInformation)
EaInformation(FileEaInformation)
FullEaInformation(FileFullEaInformation)
IdInformation(FileIdInformation)
InternalInformation(FileInternalInformation)
ModeInformation(FileModeInformation)
NetworkOpenInformation(FileNetworkOpenInformation)
NormalizedNameInformation(FileNormalizedNameInformation)
PipeInformation(FilePipeInformation)
PipeLocalInformation(FilePipeLocalInformation)
PipeRemoteInformation(FilePipeRemoteInformation)
PositionInformation(FilePositionInformation)
StandardInformation(FileStandardInformation)
StreamInformation(FileStreamInformation)
Trait Implementations§
Source§impl BinRead for QueryFileInfo
impl BinRead for QueryFileInfo
Source§type Args<'__binrw_generated_args_lifetime> = (QueryFileInfoClass,)
type Args<'__binrw_generated_args_lifetime> = (QueryFileInfoClass,)
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 QueryFileInfo
impl BinWrite for QueryFileInfo
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 QueryFileInfo
impl Debug for QueryFileInfo
Source§impl FileInfoType for QueryFileInfo
impl FileInfoType for QueryFileInfo
Source§impl From<ChainedItemList<FileFullEaInformationInner, 4>> for QueryFileInfo
impl From<ChainedItemList<FileFullEaInformationInner, 4>> for QueryFileInfo
Source§fn from(value: FileFullEaInformation) -> QueryFileInfo
fn from(value: FileFullEaInformation) -> QueryFileInfo
Converts to this type from the input type.
Source§impl From<ChainedItemList<FileStreamInformationInner, 8>> for QueryFileInfo
impl From<ChainedItemList<FileStreamInformationInner, 8>> for QueryFileInfo
Source§fn from(value: FileStreamInformation) -> QueryFileInfo
fn from(value: FileStreamInformation) -> QueryFileInfo
Converts to this type from the input type.
Source§impl From<FileAccessInformation> for QueryFileInfo
impl From<FileAccessInformation> for QueryFileInfo
Source§fn from(value: FileAccessInformation) -> QueryFileInfo
fn from(value: FileAccessInformation) -> QueryFileInfo
Converts to this type from the input type.
Source§impl From<FileAlignmentInformation> for QueryFileInfo
impl From<FileAlignmentInformation> for QueryFileInfo
Source§fn from(value: FileAlignmentInformation) -> QueryFileInfo
fn from(value: FileAlignmentInformation) -> QueryFileInfo
Converts to this type from the input type.
Source§impl From<FileAllInformation> for QueryFileInfo
impl From<FileAllInformation> for QueryFileInfo
Source§fn from(value: FileAllInformation) -> QueryFileInfo
fn from(value: FileAllInformation) -> QueryFileInfo
Converts to this type from the input type.
Source§impl From<FileAlternateNameInformation> for QueryFileInfo
impl From<FileAlternateNameInformation> for QueryFileInfo
Source§fn from(value: FileAlternateNameInformation) -> QueryFileInfo
fn from(value: FileAlternateNameInformation) -> QueryFileInfo
Converts to this type from the input type.
Source§impl From<FileAttributeTagInformation> for QueryFileInfo
impl From<FileAttributeTagInformation> for QueryFileInfo
Source§fn from(value: FileAttributeTagInformation) -> QueryFileInfo
fn from(value: FileAttributeTagInformation) -> QueryFileInfo
Converts to this type from the input type.
Source§impl From<FileBasicInformation> for QueryFileInfo
impl From<FileBasicInformation> for QueryFileInfo
Source§fn from(value: FileBasicInformation) -> QueryFileInfo
fn from(value: FileBasicInformation) -> QueryFileInfo
Converts to this type from the input type.
Source§impl From<FileCompressionInformation> for QueryFileInfo
impl From<FileCompressionInformation> for QueryFileInfo
Source§fn from(value: FileCompressionInformation) -> QueryFileInfo
fn from(value: FileCompressionInformation) -> QueryFileInfo
Converts to this type from the input type.
Source§impl From<FileEaInformation> for QueryFileInfo
impl From<FileEaInformation> for QueryFileInfo
Source§fn from(value: FileEaInformation) -> QueryFileInfo
fn from(value: FileEaInformation) -> QueryFileInfo
Converts to this type from the input type.
Source§impl From<FileIdInformation> for QueryFileInfo
impl From<FileIdInformation> for QueryFileInfo
Source§fn from(value: FileIdInformation) -> QueryFileInfo
fn from(value: FileIdInformation) -> QueryFileInfo
Converts to this type from the input type.
Source§impl From<FileInternalInformation> for QueryFileInfo
impl From<FileInternalInformation> for QueryFileInfo
Source§fn from(value: FileInternalInformation) -> QueryFileInfo
fn from(value: FileInternalInformation) -> QueryFileInfo
Converts to this type from the input type.
Source§impl From<FileModeInformation> for QueryFileInfo
impl From<FileModeInformation> for QueryFileInfo
Source§fn from(value: FileModeInformation) -> QueryFileInfo
fn from(value: FileModeInformation) -> QueryFileInfo
Converts to this type from the input type.
Source§impl From<FileNetworkOpenInformation> for QueryFileInfo
impl From<FileNetworkOpenInformation> for QueryFileInfo
Source§fn from(value: FileNetworkOpenInformation) -> QueryFileInfo
fn from(value: FileNetworkOpenInformation) -> QueryFileInfo
Converts to this type from the input type.
Source§impl From<FileNormalizedNameInformation> for QueryFileInfo
impl From<FileNormalizedNameInformation> for QueryFileInfo
Source§fn from(value: FileNormalizedNameInformation) -> QueryFileInfo
fn from(value: FileNormalizedNameInformation) -> QueryFileInfo
Converts to this type from the input type.
Source§impl From<FilePipeInformation> for QueryFileInfo
impl From<FilePipeInformation> for QueryFileInfo
Source§fn from(value: FilePipeInformation) -> QueryFileInfo
fn from(value: FilePipeInformation) -> QueryFileInfo
Converts to this type from the input type.
Source§impl From<FilePipeLocalInformation> for QueryFileInfo
impl From<FilePipeLocalInformation> for QueryFileInfo
Source§fn from(value: FilePipeLocalInformation) -> QueryFileInfo
fn from(value: FilePipeLocalInformation) -> QueryFileInfo
Converts to this type from the input type.
Source§impl From<FilePipeRemoteInformation> for QueryFileInfo
impl From<FilePipeRemoteInformation> for QueryFileInfo
Source§fn from(value: FilePipeRemoteInformation) -> QueryFileInfo
fn from(value: FilePipeRemoteInformation) -> QueryFileInfo
Converts to this type from the input type.
Source§impl From<FilePositionInformation> for QueryFileInfo
impl From<FilePositionInformation> for QueryFileInfo
Source§fn from(value: FilePositionInformation) -> QueryFileInfo
fn from(value: FilePositionInformation) -> QueryFileInfo
Converts to this type from the input type.
Source§impl From<FileStandardInformation> for QueryFileInfo
impl From<FileStandardInformation> for QueryFileInfo
Source§fn from(value: FileStandardInformation) -> QueryFileInfo
fn from(value: FileStandardInformation) -> QueryFileInfo
Converts to this type from the input type.
Source§impl PartialEq for QueryFileInfo
impl PartialEq for QueryFileInfo
Source§impl ReadEndian for QueryFileInfo
impl ReadEndian for QueryFileInfo
Source§const ENDIAN: EndianKind
const ENDIAN: EndianKind
The endianness of the type.
Source§impl TryFrom<QueryFileInfo> for FileFullEaInformation
impl TryFrom<QueryFileInfo> for FileFullEaInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileInfo> for FileStreamInformation
impl TryFrom<QueryFileInfo> for FileStreamInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileInfo> for FileAccessInformation
impl TryFrom<QueryFileInfo> for FileAccessInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileInfo> for FileAlignmentInformation
impl TryFrom<QueryFileInfo> for FileAlignmentInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileInfo> for FileAllInformation
impl TryFrom<QueryFileInfo> for FileAllInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileInfo> for FileAlternateNameInformation
impl TryFrom<QueryFileInfo> for FileAlternateNameInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileInfo> for FileAttributeTagInformation
impl TryFrom<QueryFileInfo> for FileAttributeTagInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileInfo> for FileBasicInformation
impl TryFrom<QueryFileInfo> for FileBasicInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileInfo> for FileCompressionInformation
impl TryFrom<QueryFileInfo> for FileCompressionInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileInfo> for FileEaInformation
impl TryFrom<QueryFileInfo> for FileEaInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileInfo> for FileIdInformation
impl TryFrom<QueryFileInfo> for FileIdInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileInfo> for FileInternalInformation
impl TryFrom<QueryFileInfo> for FileInternalInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileInfo> for FileModeInformation
impl TryFrom<QueryFileInfo> for FileModeInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileInfo> for FileNetworkOpenInformation
impl TryFrom<QueryFileInfo> for FileNetworkOpenInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileInfo> for FileNormalizedNameInformation
impl TryFrom<QueryFileInfo> for FileNormalizedNameInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileInfo> for FilePipeInformation
impl TryFrom<QueryFileInfo> for FilePipeInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileInfo> for FilePipeLocalInformation
impl TryFrom<QueryFileInfo> for FilePipeLocalInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileInfo> for FilePipeRemoteInformation
impl TryFrom<QueryFileInfo> for FilePipeRemoteInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileInfo> for FilePositionInformation
impl TryFrom<QueryFileInfo> for FilePositionInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryFileInfo> for FileStandardInformation
impl TryFrom<QueryFileInfo> for FileStandardInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl WriteEndian for QueryFileInfo
impl WriteEndian for QueryFileInfo
Source§const ENDIAN: EndianKind
const ENDIAN: EndianKind
The endianness of the type.
impl Eq for QueryFileInfo
impl StructuralPartialEq for QueryFileInfo
Auto Trait Implementations§
impl Freeze for QueryFileInfo
impl RefUnwindSafe for QueryFileInfo
impl Send for QueryFileInfo
impl Sync for QueryFileInfo
impl Unpin for QueryFileInfo
impl UnwindSafe for QueryFileInfo
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