Struct dokan::VolumeInfo[][src]

pub struct VolumeInfo {
    pub name: U16CString,
    pub serial_number: u32,
    pub max_component_length: u32,
    pub fs_flags: u32,
    pub fs_name: U16CString,
}

Volume information returned by FileSystemHandler::get_volume_information.

Fields

name: U16CString

Name of the volume.

serial_number: u32

Serial number of the volume.

max_component_length: u32

The maximum length of a path component that is supported.

fs_flags: u32

The flags associated with the file system.

It can be combination of one or more flags defined by Windows.

FILE_READ_ONLY_VOLUME is automatically added if MountFlags::WRITE_PROTECT was specified when mounting the volume.

fs_name: U16CString

Name of the file system.

Windows checks feature availability based on file system name, so it is recommended to set it to well-known names like NTFS or FAT.

Trait Implementations

impl Clone for VolumeInfo[src]

impl Debug for VolumeInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for VolumeInfo

impl Send for VolumeInfo

impl Sync for VolumeInfo

impl Unpin for VolumeInfo

impl UnwindSafe for VolumeInfo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.