pub enum SetFileSystemInfo {
FsControlInformation(FileFsControlInformation),
FsObjectIdInformation(FileFsObjectIdInformation),
}Expand description
Set file system information classes.
See:
SetFileSystemInfoClass- class IDsSetFileSystemInfoValue- value trait
Auto-generated by the file_info_classes! macro
Variants§
FsControlInformation(FileFsControlInformation)
FsObjectIdInformation(FileFsObjectIdInformation)
Trait Implementations§
Source§impl BinRead for SetFileSystemInfo
impl BinRead for SetFileSystemInfo
Source§type Args<'__binrw_generated_args_lifetime> = (SetFileSystemInfoClass,)
type Args<'__binrw_generated_args_lifetime> = (SetFileSystemInfoClass,)
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 SetFileSystemInfo
impl BinWrite for SetFileSystemInfo
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 SetFileSystemInfo
impl Debug for SetFileSystemInfo
Source§impl FileInfoType for SetFileSystemInfo
impl FileInfoType for SetFileSystemInfo
Source§impl From<FileFsControlInformation> for SetFileSystemInfo
impl From<FileFsControlInformation> for SetFileSystemInfo
Source§fn from(value: FileFsControlInformation) -> SetFileSystemInfo
fn from(value: FileFsControlInformation) -> SetFileSystemInfo
Converts to this type from the input type.
Source§impl From<FileFsObjectIdInformation> for SetFileSystemInfo
impl From<FileFsObjectIdInformation> for SetFileSystemInfo
Source§fn from(value: FileFsObjectIdInformation) -> SetFileSystemInfo
fn from(value: FileFsObjectIdInformation) -> SetFileSystemInfo
Converts to this type from the input type.
Source§impl PartialEq for SetFileSystemInfo
impl PartialEq for SetFileSystemInfo
Source§impl ReadEndian for SetFileSystemInfo
impl ReadEndian for SetFileSystemInfo
Source§const ENDIAN: EndianKind
const ENDIAN: EndianKind
The endianness of the type.
Source§impl TryFrom<SetFileSystemInfo> for FileFsControlInformation
impl TryFrom<SetFileSystemInfo> for FileFsControlInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<SetFileSystemInfo> for FileFsObjectIdInformation
impl TryFrom<SetFileSystemInfo> for FileFsObjectIdInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl WriteEndian for SetFileSystemInfo
impl WriteEndian for SetFileSystemInfo
Source§const ENDIAN: EndianKind
const ENDIAN: EndianKind
The endianness of the type.
impl Eq for SetFileSystemInfo
impl StructuralPartialEq for SetFileSystemInfo
Auto Trait Implementations§
impl Freeze for SetFileSystemInfo
impl RefUnwindSafe for SetFileSystemInfo
impl Send for SetFileSystemInfo
impl Sync for SetFileSystemInfo
impl Unpin for SetFileSystemInfo
impl UnwindSafe for SetFileSystemInfo
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