pub enum SetFileInfo {
AllocationInformation(FileAllocationInformation),
BasicInformation(FileBasicInformation),
DispositionInformation(FileDispositionInformation),
EndOfFileInformation(FileEndOfFileInformation),
FullEaInformation(FileFullEaInformation),
LinkInformation(FileLinkInformation),
ModeInformation(FileModeInformation),
PipeInformation(FilePipeInformation),
PositionInformation(FilePositionInformation),
RenameInformation(FileRenameInformation),
ShortNameInformation(FileShortNameInformation),
ValidDataLengthInformation(FileValidDataLengthInformation),
}Expand description
Set file information classes.
See:
SetFileInfoClass- class IDsSetFileInfoValue- value trait
Auto-generated by the file_info_classes! macro
Variants§
AllocationInformation(FileAllocationInformation)
BasicInformation(FileBasicInformation)
DispositionInformation(FileDispositionInformation)
EndOfFileInformation(FileEndOfFileInformation)
FullEaInformation(FileFullEaInformation)
LinkInformation(FileLinkInformation)
ModeInformation(FileModeInformation)
PipeInformation(FilePipeInformation)
PositionInformation(FilePositionInformation)
RenameInformation(FileRenameInformation)
ShortNameInformation(FileShortNameInformation)
ValidDataLengthInformation(FileValidDataLengthInformation)
Trait Implementations§
Source§impl BinRead for SetFileInfo
impl BinRead for SetFileInfo
Source§type Args<'__binrw_generated_args_lifetime> = (SetFileInfoClass,)
type Args<'__binrw_generated_args_lifetime> = (SetFileInfoClass,)
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 SetFileInfo
impl BinWrite for SetFileInfo
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 SetFileInfo
impl Debug for SetFileInfo
Source§impl FileInfoType for SetFileInfo
impl FileInfoType for SetFileInfo
Source§impl From<ChainedItemList<FileFullEaInformationInner, 4>> for SetFileInfo
impl From<ChainedItemList<FileFullEaInformationInner, 4>> for SetFileInfo
Source§fn from(value: FileFullEaInformation) -> SetFileInfo
fn from(value: FileFullEaInformation) -> SetFileInfo
Converts to this type from the input type.
Source§impl From<FileAllocationInformation> for SetFileInfo
impl From<FileAllocationInformation> for SetFileInfo
Source§fn from(value: FileAllocationInformation) -> SetFileInfo
fn from(value: FileAllocationInformation) -> SetFileInfo
Converts to this type from the input type.
Source§impl From<FileBasicInformation> for SetFileInfo
impl From<FileBasicInformation> for SetFileInfo
Source§fn from(value: FileBasicInformation) -> SetFileInfo
fn from(value: FileBasicInformation) -> SetFileInfo
Converts to this type from the input type.
Source§impl From<FileDispositionInformation> for SetFileInfo
impl From<FileDispositionInformation> for SetFileInfo
Source§fn from(value: FileDispositionInformation) -> SetFileInfo
fn from(value: FileDispositionInformation) -> SetFileInfo
Converts to this type from the input type.
Source§impl From<FileEndOfFileInformation> for SetFileInfo
impl From<FileEndOfFileInformation> for SetFileInfo
Source§fn from(value: FileEndOfFileInformation) -> SetFileInfo
fn from(value: FileEndOfFileInformation) -> SetFileInfo
Converts to this type from the input type.
Source§impl From<FileLinkInformation> for SetFileInfo
impl From<FileLinkInformation> for SetFileInfo
Source§fn from(value: FileLinkInformation) -> SetFileInfo
fn from(value: FileLinkInformation) -> SetFileInfo
Converts to this type from the input type.
Source§impl From<FileModeInformation> for SetFileInfo
impl From<FileModeInformation> for SetFileInfo
Source§fn from(value: FileModeInformation) -> SetFileInfo
fn from(value: FileModeInformation) -> SetFileInfo
Converts to this type from the input type.
Source§impl From<FilePipeInformation> for SetFileInfo
impl From<FilePipeInformation> for SetFileInfo
Source§fn from(value: FilePipeInformation) -> SetFileInfo
fn from(value: FilePipeInformation) -> SetFileInfo
Converts to this type from the input type.
Source§impl From<FilePositionInformation> for SetFileInfo
impl From<FilePositionInformation> for SetFileInfo
Source§fn from(value: FilePositionInformation) -> SetFileInfo
fn from(value: FilePositionInformation) -> SetFileInfo
Converts to this type from the input type.
Source§impl From<FileRenameInformation> for SetFileInfo
impl From<FileRenameInformation> for SetFileInfo
Source§fn from(value: FileRenameInformation) -> SetFileInfo
fn from(value: FileRenameInformation) -> SetFileInfo
Converts to this type from the input type.
Source§impl From<FileShortNameInformation> for SetFileInfo
impl From<FileShortNameInformation> for SetFileInfo
Source§fn from(value: FileShortNameInformation) -> SetFileInfo
fn from(value: FileShortNameInformation) -> SetFileInfo
Converts to this type from the input type.
Source§impl From<FileValidDataLengthInformation> for SetFileInfo
impl From<FileValidDataLengthInformation> for SetFileInfo
Source§fn from(value: FileValidDataLengthInformation) -> SetFileInfo
fn from(value: FileValidDataLengthInformation) -> SetFileInfo
Converts to this type from the input type.
Source§impl PartialEq for SetFileInfo
impl PartialEq for SetFileInfo
Source§impl ReadEndian for SetFileInfo
impl ReadEndian for SetFileInfo
Source§const ENDIAN: EndianKind
const ENDIAN: EndianKind
The endianness of the type.
Source§impl TryFrom<SetFileInfo> for FileFullEaInformation
impl TryFrom<SetFileInfo> for FileFullEaInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<SetFileInfo> for FileAllocationInformation
impl TryFrom<SetFileInfo> for FileAllocationInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<SetFileInfo> for FileBasicInformation
impl TryFrom<SetFileInfo> for FileBasicInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<SetFileInfo> for FileDispositionInformation
impl TryFrom<SetFileInfo> for FileDispositionInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<SetFileInfo> for FileEndOfFileInformation
impl TryFrom<SetFileInfo> for FileEndOfFileInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<SetFileInfo> for FileLinkInformation
impl TryFrom<SetFileInfo> for FileLinkInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<SetFileInfo> for FileModeInformation
impl TryFrom<SetFileInfo> for FileModeInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<SetFileInfo> for FilePipeInformation
impl TryFrom<SetFileInfo> for FilePipeInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<SetFileInfo> for FilePositionInformation
impl TryFrom<SetFileInfo> for FilePositionInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<SetFileInfo> for FileRenameInformation
impl TryFrom<SetFileInfo> for FileRenameInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<SetFileInfo> for FileShortNameInformation
impl TryFrom<SetFileInfo> for FileShortNameInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<SetFileInfo> for FileValidDataLengthInformation
impl TryFrom<SetFileInfo> for FileValidDataLengthInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl WriteEndian for SetFileInfo
impl WriteEndian for SetFileInfo
Source§const ENDIAN: EndianKind
const ENDIAN: EndianKind
The endianness of the type.
impl Eq for SetFileInfo
impl StructuralPartialEq for SetFileInfo
Auto Trait Implementations§
impl Freeze for SetFileInfo
impl RefUnwindSafe for SetFileInfo
impl Send for SetFileInfo
impl Sync for SetFileInfo
impl Unpin for SetFileInfo
impl UnwindSafe for SetFileInfo
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