QueryFileInfo

Enum QueryFileInfo 

Source
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),
}

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

Source§

type Args<'__binrw_generated_args_lifetime> = (QueryFileInfoClass,)

The type used for the args parameter of read_args() and read_options(). Read more
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>

Read Self from the reader using the given Endian and arguments. Read more
Source§

fn read<R>(reader: &mut R) -> Result<Self, Error>
where R: Read + Seek, Self: ReadEndian, Self::Args<'a>: for<'a> Required,

Read Self from the reader using default arguments. Read more
Source§

fn read_be<R>(reader: &mut R) -> Result<Self, Error>
where R: Read + Seek, Self::Args<'a>: for<'a> Required,

Read Self from the reader using default arguments and assuming big-endian byte order. Read more
Source§

fn read_le<R>(reader: &mut R) -> Result<Self, Error>
where R: Read + Seek, Self::Args<'a>: for<'a> Required,

Read Self from the reader using default arguments and assuming little-endian byte order. Read more
Source§

fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
where R: Read + Seek, Self::Args<'a>: for<'a> Required,

Read T from the reader assuming native-endian byte order. Read more
Source§

fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
where R: Read + Seek, Self: ReadEndian,

Read Self from the reader using the given arguments. Read more
Source§

fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
where R: Read + Seek,

Read Self from the reader, assuming big-endian byte order, using the given arguments. Read more
Source§

fn read_le_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
where R: Read + Seek,

Read Self from the reader, assuming little-endian byte order, using the given arguments. Read more
Source§

fn read_ne_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
where R: Read + Seek,

Read T from the reader, assuming native-endian byte order, using the given arguments. Read more
Source§

impl BinWrite for QueryFileInfo

Source§

type Args<'__binrw_generated_args_lifetime> = ()

The type used for the args parameter of write_args() and write_options(). Read more
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<()>

Write Self to the writer using the given Endian and arguments. Read more
Source§

fn write<W>(&self, writer: &mut W) -> Result<(), Error>
where W: Write + Seek, Self: WriteEndian, Self::Args<'a>: for<'a> Required,

Write Self to the writer using default arguments. Read more
Source§

fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
where W: Write + Seek, Self::Args<'a>: for<'a> Required,

Write Self to the writer assuming big-endian byte order. Read more
Source§

fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
where W: Write + Seek, Self::Args<'a>: for<'a> Required,

Write Self to the writer assuming little-endian byte order. Read more
Source§

fn write_ne<W>(&self, writer: &mut W) -> Result<(), Error>
where W: Write + Seek, Self::Args<'a>: for<'a> Required,

Write Self to the writer assuming native-endian byte order. Read more
Source§

fn write_args<W>( &self, writer: &mut W, args: Self::Args<'_>, ) -> Result<(), Error>
where W: Write + Seek, Self: WriteEndian,

Write Self to the writer using the given arguments. Read more
Source§

fn write_be_args<W>( &self, writer: &mut W, args: Self::Args<'_>, ) -> Result<(), Error>
where W: Write + Seek,

Write Self to the writer, assuming big-endian byte order, using the given arguments. Read more
Source§

fn write_le_args<W>( &self, writer: &mut W, args: Self::Args<'_>, ) -> Result<(), Error>
where W: Write + Seek,

Write Self to the writer, assuming little-endian byte order, using the given arguments. Read more
Source§

fn write_ne_args<W>( &self, writer: &mut W, args: Self::Args<'_>, ) -> Result<(), Error>
where W: Write + Seek,

Write Self to the writer, assuming native-endian byte order, using the given arguments. Read more
Source§

impl Debug for QueryFileInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl FileInfoType for QueryFileInfo

Source§

type Class = QueryFileInfoClass

The class of the file information.
Source§

fn class(&self) -> Self::Class

Get the class of the file information.
Source§

impl From<ChainedItemList<FileFullEaInformationInner>> for QueryFileInfo

Source§

fn from(value: FileFullEaInformation) -> QueryFileInfo

Converts to this type from the input type.
Source§

impl From<ChainedItemList<FileStreamInformationInner>> for QueryFileInfo

Source§

fn from(value: FileStreamInformation) -> QueryFileInfo

Converts to this type from the input type.
Source§

impl From<FileAccessInformation> for QueryFileInfo

Source§

fn from(value: FileAccessInformation) -> QueryFileInfo

Converts to this type from the input type.
Source§

impl From<FileAlignmentInformation> for QueryFileInfo

Source§

fn from(value: FileAlignmentInformation) -> QueryFileInfo

Converts to this type from the input type.
Source§

impl From<FileAllInformation> for QueryFileInfo

Source§

fn from(value: FileAllInformation) -> QueryFileInfo

Converts to this type from the input type.
Source§

impl From<FileAlternateNameInformation> for QueryFileInfo

Source§

fn from(value: FileAlternateNameInformation) -> QueryFileInfo

Converts to this type from the input type.
Source§

impl From<FileAttributeTagInformation> for QueryFileInfo

Source§

fn from(value: FileAttributeTagInformation) -> QueryFileInfo

Converts to this type from the input type.
Source§

impl From<FileBasicInformation> for QueryFileInfo

Source§

fn from(value: FileBasicInformation) -> QueryFileInfo

Converts to this type from the input type.
Source§

impl From<FileCompressionInformation> for QueryFileInfo

Source§

fn from(value: FileCompressionInformation) -> QueryFileInfo

Converts to this type from the input type.
Source§

impl From<FileEaInformation> for QueryFileInfo

Source§

fn from(value: FileEaInformation) -> QueryFileInfo

Converts to this type from the input type.
Source§

impl From<FileIdInformation> for QueryFileInfo

Source§

fn from(value: FileIdInformation) -> QueryFileInfo

Converts to this type from the input type.
Source§

impl From<FileInternalInformation> for QueryFileInfo

Source§

fn from(value: FileInternalInformation) -> QueryFileInfo

Converts to this type from the input type.
Source§

impl From<FileModeInformation> for QueryFileInfo

Source§

fn from(value: FileModeInformation) -> QueryFileInfo

Converts to this type from the input type.
Source§

impl From<FileNetworkOpenInformation> for QueryFileInfo

Source§

fn from(value: FileNetworkOpenInformation) -> QueryFileInfo

Converts to this type from the input type.
Source§

impl From<FileNormalizedNameInformation> for QueryFileInfo

Source§

fn from(value: FileNormalizedNameInformation) -> QueryFileInfo

Converts to this type from the input type.
Source§

impl From<FilePipeInformation> for QueryFileInfo

Source§

fn from(value: FilePipeInformation) -> QueryFileInfo

Converts to this type from the input type.
Source§

impl From<FilePipeLocalInformation> for QueryFileInfo

Source§

fn from(value: FilePipeLocalInformation) -> QueryFileInfo

Converts to this type from the input type.
Source§

impl From<FilePipeRemoteInformation> for QueryFileInfo

Source§

fn from(value: FilePipeRemoteInformation) -> QueryFileInfo

Converts to this type from the input type.
Source§

impl From<FilePositionInformation> for QueryFileInfo

Source§

fn from(value: FilePositionInformation) -> QueryFileInfo

Converts to this type from the input type.
Source§

impl From<FileStandardInformation> for QueryFileInfo

Source§

fn from(value: FileStandardInformation) -> QueryFileInfo

Converts to this type from the input type.
Source§

impl PartialEq for QueryFileInfo

Source§

fn eq(&self, other: &QueryFileInfo) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl ReadEndian for QueryFileInfo

Source§

const ENDIAN: EndianKind

The endianness of the type.
Source§

impl TryFrom<QueryFileInfo> for FileFullEaInformation

Source§

type Error = SmbFsccError

The type returned in the event of a conversion error.
Source§

fn try_from(value: QueryFileInfo) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<QueryFileInfo> for FileStreamInformation

Source§

type Error = SmbFsccError

The type returned in the event of a conversion error.
Source§

fn try_from(value: QueryFileInfo) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<QueryFileInfo> for FileAccessInformation

Source§

type Error = SmbFsccError

The type returned in the event of a conversion error.
Source§

fn try_from(value: QueryFileInfo) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<QueryFileInfo> for FileAlignmentInformation

Source§

type Error = SmbFsccError

The type returned in the event of a conversion error.
Source§

fn try_from(value: QueryFileInfo) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<QueryFileInfo> for FileAllInformation

Source§

type Error = SmbFsccError

The type returned in the event of a conversion error.
Source§

fn try_from(value: QueryFileInfo) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<QueryFileInfo> for FileAlternateNameInformation

Source§

type Error = SmbFsccError

The type returned in the event of a conversion error.
Source§

fn try_from(value: QueryFileInfo) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<QueryFileInfo> for FileAttributeTagInformation

Source§

type Error = SmbFsccError

The type returned in the event of a conversion error.
Source§

fn try_from(value: QueryFileInfo) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<QueryFileInfo> for FileBasicInformation

Source§

type Error = SmbFsccError

The type returned in the event of a conversion error.
Source§

fn try_from(value: QueryFileInfo) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<QueryFileInfo> for FileCompressionInformation

Source§

type Error = SmbFsccError

The type returned in the event of a conversion error.
Source§

fn try_from(value: QueryFileInfo) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<QueryFileInfo> for FileEaInformation

Source§

type Error = SmbFsccError

The type returned in the event of a conversion error.
Source§

fn try_from(value: QueryFileInfo) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<QueryFileInfo> for FileIdInformation

Source§

type Error = SmbFsccError

The type returned in the event of a conversion error.
Source§

fn try_from(value: QueryFileInfo) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<QueryFileInfo> for FileInternalInformation

Source§

type Error = SmbFsccError

The type returned in the event of a conversion error.
Source§

fn try_from(value: QueryFileInfo) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<QueryFileInfo> for FileModeInformation

Source§

type Error = SmbFsccError

The type returned in the event of a conversion error.
Source§

fn try_from(value: QueryFileInfo) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<QueryFileInfo> for FileNetworkOpenInformation

Source§

type Error = SmbFsccError

The type returned in the event of a conversion error.
Source§

fn try_from(value: QueryFileInfo) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<QueryFileInfo> for FileNormalizedNameInformation

Source§

type Error = SmbFsccError

The type returned in the event of a conversion error.
Source§

fn try_from(value: QueryFileInfo) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<QueryFileInfo> for FilePipeInformation

Source§

type Error = SmbFsccError

The type returned in the event of a conversion error.
Source§

fn try_from(value: QueryFileInfo) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<QueryFileInfo> for FilePipeLocalInformation

Source§

type Error = SmbFsccError

The type returned in the event of a conversion error.
Source§

fn try_from(value: QueryFileInfo) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<QueryFileInfo> for FilePipeRemoteInformation

Source§

type Error = SmbFsccError

The type returned in the event of a conversion error.
Source§

fn try_from(value: QueryFileInfo) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<QueryFileInfo> for FilePositionInformation

Source§

type Error = SmbFsccError

The type returned in the event of a conversion error.
Source§

fn try_from(value: QueryFileInfo) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<QueryFileInfo> for FileStandardInformation

Source§

type Error = SmbFsccError

The type returned in the event of a conversion error.
Source§

fn try_from(value: QueryFileInfo) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl WriteEndian for QueryFileInfo

Source§

const ENDIAN: EndianKind

The endianness of the type.
Source§

impl Eq for QueryFileInfo

Source§

impl StructuralPartialEq for QueryFileInfo

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V