pub enum QueryDirectoryInfo {
DirectoryInformation(FileDirectoryInformation),
FullDirectoryInformation(FileFullDirectoryInformation),
IdFullDirectoryInformation(FileIdFullDirectoryInformation),
BothDirectoryInformation(FileBothDirectoryInformation),
IdBothDirectoryInformation(FileIdBothDirectoryInformation),
NamesInformation(FileNamesInformation),
IdExtdDirectoryInformation(FileIdExtdDirectoryInformation),
Id64ExtdDirectoryInformation(FileId64ExtdDirectoryInformation),
Id64ExtdBothDirectoryInformation(FileId64ExtdBothDirectoryInformation),
IdAllExtdDirectoryInformation(FileIdAllExtdDirectoryInformation),
IdAllExtdBothDirectoryInformation(FileIdAllExtdBothDirectoryInformation),
}Expand description
Query (list) directory information classes.
See:
QueryDirectoryInfoClass- class IDsQueryDirectoryInfoValue- value trait
Auto-generated by the file_info_classes! macro
Variants§
DirectoryInformation(FileDirectoryInformation)
FullDirectoryInformation(FileFullDirectoryInformation)
IdFullDirectoryInformation(FileIdFullDirectoryInformation)
BothDirectoryInformation(FileBothDirectoryInformation)
IdBothDirectoryInformation(FileIdBothDirectoryInformation)
NamesInformation(FileNamesInformation)
IdExtdDirectoryInformation(FileIdExtdDirectoryInformation)
Id64ExtdDirectoryInformation(FileId64ExtdDirectoryInformation)
Id64ExtdBothDirectoryInformation(FileId64ExtdBothDirectoryInformation)
IdAllExtdDirectoryInformation(FileIdAllExtdDirectoryInformation)
IdAllExtdBothDirectoryInformation(FileIdAllExtdBothDirectoryInformation)
Implementations§
Source§impl QueryDirectoryInfo
impl QueryDirectoryInfo
Sourcepub const CHAINED_ALIGNMENT: u32 = 8u32
pub const CHAINED_ALIGNMENT: u32 = 8u32
All directory information structures must be aligned to 8-byte boundaries.
Trait Implementations§
Source§impl BinRead for QueryDirectoryInfo
impl BinRead for QueryDirectoryInfo
Source§type Args<'__binrw_generated_args_lifetime> = (QueryDirectoryInfoClass,)
type Args<'__binrw_generated_args_lifetime> = (QueryDirectoryInfoClass,)
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 QueryDirectoryInfo
impl BinWrite for QueryDirectoryInfo
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 QueryDirectoryInfo
impl Debug for QueryDirectoryInfo
Source§impl FileInfoType for QueryDirectoryInfo
impl FileInfoType for QueryDirectoryInfo
Source§impl From<FileBothDirectoryInformation> for QueryDirectoryInfo
impl From<FileBothDirectoryInformation> for QueryDirectoryInfo
Source§fn from(value: FileBothDirectoryInformation) -> QueryDirectoryInfo
fn from(value: FileBothDirectoryInformation) -> QueryDirectoryInfo
Converts to this type from the input type.
Source§impl From<FileDirectoryInformation> for QueryDirectoryInfo
impl From<FileDirectoryInformation> for QueryDirectoryInfo
Source§fn from(value: FileDirectoryInformation) -> QueryDirectoryInfo
fn from(value: FileDirectoryInformation) -> QueryDirectoryInfo
Converts to this type from the input type.
Source§impl From<FileFullDirectoryInformation> for QueryDirectoryInfo
impl From<FileFullDirectoryInformation> for QueryDirectoryInfo
Source§fn from(value: FileFullDirectoryInformation) -> QueryDirectoryInfo
fn from(value: FileFullDirectoryInformation) -> QueryDirectoryInfo
Converts to this type from the input type.
Source§impl From<FileId64ExtdBothDirectoryInformation> for QueryDirectoryInfo
impl From<FileId64ExtdBothDirectoryInformation> for QueryDirectoryInfo
Source§fn from(value: FileId64ExtdBothDirectoryInformation) -> QueryDirectoryInfo
fn from(value: FileId64ExtdBothDirectoryInformation) -> QueryDirectoryInfo
Converts to this type from the input type.
Source§impl From<FileId64ExtdDirectoryInformation> for QueryDirectoryInfo
impl From<FileId64ExtdDirectoryInformation> for QueryDirectoryInfo
Source§fn from(value: FileId64ExtdDirectoryInformation) -> QueryDirectoryInfo
fn from(value: FileId64ExtdDirectoryInformation) -> QueryDirectoryInfo
Converts to this type from the input type.
Source§impl From<FileIdAllExtdBothDirectoryInformation> for QueryDirectoryInfo
impl From<FileIdAllExtdBothDirectoryInformation> for QueryDirectoryInfo
Source§fn from(value: FileIdAllExtdBothDirectoryInformation) -> QueryDirectoryInfo
fn from(value: FileIdAllExtdBothDirectoryInformation) -> QueryDirectoryInfo
Converts to this type from the input type.
Source§impl From<FileIdAllExtdDirectoryInformation> for QueryDirectoryInfo
impl From<FileIdAllExtdDirectoryInformation> for QueryDirectoryInfo
Source§fn from(value: FileIdAllExtdDirectoryInformation) -> QueryDirectoryInfo
fn from(value: FileIdAllExtdDirectoryInformation) -> QueryDirectoryInfo
Converts to this type from the input type.
Source§impl From<FileIdBothDirectoryInformation> for QueryDirectoryInfo
impl From<FileIdBothDirectoryInformation> for QueryDirectoryInfo
Source§fn from(value: FileIdBothDirectoryInformation) -> QueryDirectoryInfo
fn from(value: FileIdBothDirectoryInformation) -> QueryDirectoryInfo
Converts to this type from the input type.
Source§impl From<FileIdExtdDirectoryInformation> for QueryDirectoryInfo
impl From<FileIdExtdDirectoryInformation> for QueryDirectoryInfo
Source§fn from(value: FileIdExtdDirectoryInformation) -> QueryDirectoryInfo
fn from(value: FileIdExtdDirectoryInformation) -> QueryDirectoryInfo
Converts to this type from the input type.
Source§impl From<FileIdFullDirectoryInformation> for QueryDirectoryInfo
impl From<FileIdFullDirectoryInformation> for QueryDirectoryInfo
Source§fn from(value: FileIdFullDirectoryInformation) -> QueryDirectoryInfo
fn from(value: FileIdFullDirectoryInformation) -> QueryDirectoryInfo
Converts to this type from the input type.
Source§impl From<FileNamesInformation> for QueryDirectoryInfo
impl From<FileNamesInformation> for QueryDirectoryInfo
Source§fn from(value: FileNamesInformation) -> QueryDirectoryInfo
fn from(value: FileNamesInformation) -> QueryDirectoryInfo
Converts to this type from the input type.
Source§impl PartialEq for QueryDirectoryInfo
impl PartialEq for QueryDirectoryInfo
Source§impl ReadEndian for QueryDirectoryInfo
impl ReadEndian for QueryDirectoryInfo
Source§const ENDIAN: EndianKind
const ENDIAN: EndianKind
The endianness of the type.
Source§impl TryFrom<QueryDirectoryInfo> for FileBothDirectoryInformation
impl TryFrom<QueryDirectoryInfo> for FileBothDirectoryInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryDirectoryInfo> for FileDirectoryInformation
impl TryFrom<QueryDirectoryInfo> for FileDirectoryInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryDirectoryInfo> for FileFullDirectoryInformation
impl TryFrom<QueryDirectoryInfo> for FileFullDirectoryInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryDirectoryInfo> for FileId64ExtdBothDirectoryInformation
impl TryFrom<QueryDirectoryInfo> for FileId64ExtdBothDirectoryInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryDirectoryInfo> for FileId64ExtdDirectoryInformation
impl TryFrom<QueryDirectoryInfo> for FileId64ExtdDirectoryInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryDirectoryInfo> for FileIdAllExtdBothDirectoryInformation
impl TryFrom<QueryDirectoryInfo> for FileIdAllExtdBothDirectoryInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryDirectoryInfo> for FileIdAllExtdDirectoryInformation
impl TryFrom<QueryDirectoryInfo> for FileIdAllExtdDirectoryInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryDirectoryInfo> for FileIdBothDirectoryInformation
impl TryFrom<QueryDirectoryInfo> for FileIdBothDirectoryInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryDirectoryInfo> for FileIdExtdDirectoryInformation
impl TryFrom<QueryDirectoryInfo> for FileIdExtdDirectoryInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryDirectoryInfo> for FileIdFullDirectoryInformation
impl TryFrom<QueryDirectoryInfo> for FileIdFullDirectoryInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<QueryDirectoryInfo> for FileNamesInformation
impl TryFrom<QueryDirectoryInfo> for FileNamesInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl WriteEndian for QueryDirectoryInfo
impl WriteEndian for QueryDirectoryInfo
Source§const ENDIAN: EndianKind
const ENDIAN: EndianKind
The endianness of the type.
impl Eq for QueryDirectoryInfo
impl StructuralPartialEq for QueryDirectoryInfo
Auto Trait Implementations§
impl Freeze for QueryDirectoryInfo
impl RefUnwindSafe for QueryDirectoryInfo
impl Send for QueryDirectoryInfo
impl Sync for QueryDirectoryInfo
impl Unpin for QueryDirectoryInfo
impl UnwindSafe for QueryDirectoryInfo
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