pub struct FileFsVolumeInformation {
pub volume_creation_time: FileTime,
pub volume_serial_number: u32,
pub supports_objects: Boolean,
pub volume_label: SizedWideString,
}Expand description
Query information on a volume on which a file system is mounted.
Fields§
§volume_creation_time: FileTimeThe time when the volume was created.
volume_serial_number: u32C contains the serial number of the volume. The serial number is an opaque value generated by the file system at format time, and is not necessarily related to any hardware serial number for the device on which the file system is located. No specific format or content of this field is required for protocol interoperation. This value is not required to be unique.
supports_objects: BooleanSet to TRUE if the file system supports object-oriented file system objects; set to FALSE otherwise.
volume_label: SizedWideStringThe content of this field can be a null-terminated string or can be a string padded with the space character to be VolumeLabelLength bytes long.
Trait Implementations§
Source§impl BinRead for FileFsVolumeInformation
impl BinRead for FileFsVolumeInformation
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_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_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 FileFsVolumeInformation
impl BinWrite for FileFsVolumeInformation
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_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_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 FileFsVolumeInformation
impl Debug for FileFsVolumeInformation
Source§impl From<FileFsVolumeInformation> for QueryFileSystemInfo
impl From<FileFsVolumeInformation> for QueryFileSystemInfo
Source§fn from(value: FileFsVolumeInformation) -> QueryFileSystemInfo
fn from(value: FileFsVolumeInformation) -> QueryFileSystemInfo
Converts to this type from the input type.
Source§impl PartialEq for FileFsVolumeInformation
impl PartialEq for FileFsVolumeInformation
Source§impl QueryFileSystemInfoValue for FileFsVolumeInformation
impl QueryFileSystemInfoValue for FileFsVolumeInformation
const CLASS_ID: QueryFileSystemInfoClass = QueryFileSystemInfoClass::FsVolumeInformation
Source§impl TryFrom<QueryFileSystemInfo> for FileFsVolumeInformation
impl TryFrom<QueryFileSystemInfo> for FileFsVolumeInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
impl Eq for FileFsVolumeInformation
impl StructuralPartialEq for FileFsVolumeInformation
Auto Trait Implementations§
impl Freeze for FileFsVolumeInformation
impl RefUnwindSafe for FileFsVolumeInformation
impl Send for FileFsVolumeInformation
impl Sync for FileFsVolumeInformation
impl Unpin for FileFsVolumeInformation
impl UnwindSafe for FileFsVolumeInformation
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