pub enum DriveType {
CdRom,
Fixed,
NoRootDir,
RamDisk,
Remote,
Removable,
}
Expand description
Windows-specific drive type.
Variants§
CdRom
CD-ROM drive
Fixed
Drive is fixed media; for example, a hard disk drive or a flash drive
NoRootDir
The root path is invalid; for example, there is no volume mounted at the specified path.
RamDisk
RAM disk
Remote
Drive is a remote (network) disk
Removable
Drive has removable media; for example, a floppy drive, thumb drive, or flash card reader.
Trait Implementations§
impl Copy for DriveType
impl Eq for DriveType
impl StructuralPartialEq for DriveType
Auto Trait Implementations§
impl Freeze for DriveType
impl RefUnwindSafe for DriveType
impl Send for DriveType
impl Sync for DriveType
impl Unpin for DriveType
impl UnwindSafe for DriveType
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