Struct dokan::MountPointInfo[][src]

pub struct MountPointInfo {
    pub device_type: u32,
    pub mount_point: Option<U16CString>,
    pub unc_name: Option<U16CString>,
    pub device_name: U16CString,
    pub session_id: u32,
}

Mount point information.

Fields

device_type: u32

File system type of the mounted volume.

Value can be FILE_DEVICE_DISK_FILE_SYSTEM or FILE_DEVICE_NETWORK_FILE_SYSTEM, which are defined in ntifs.h.

mount_point: Option<U16CString>

Mount point path.

unc_name: Option<U16CString>

UNC name of the network volume.

device_name: U16CString

Device name of the mounted volume.

session_id: u32

The session in which the volume is mounted.

It will be -1 if the volume is mounted globally.

Trait Implementations

impl Clone for MountPointInfo[src]

impl Debug for MountPointInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for MountPointInfo

impl Send for MountPointInfo

impl Sync for MountPointInfo

impl Unpin for MountPointInfo

impl UnwindSafe for MountPointInfo

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.