Struct sys_mount::SupportedFilesystems [−][src]
pub struct SupportedFilesystems { /* fields omitted */ }
Expand description
Data structure for validating if a filesystem argument is valid, and used within automatic file system mounting.
Implementations
Check if a provided file system is valid on this system.
extern crate sys_mount; use sys_mount::SupportedFilesystems; fn main() { let supports = SupportedFilesystems::new().unwrap(); println!("btrfs is {}", if supports.is_supported("btrfs") { "supported" } else { "not supported" }); }
Iterate through file systems which are not associated with physical devices.
Iterate through file systems which are associated with physical devices.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SupportedFilesystems
impl Send for SupportedFilesystems
impl Sync for SupportedFilesystems
impl Unpin for SupportedFilesystems
impl UnwindSafe for SupportedFilesystems
Blanket Implementations
Mutably borrows from an owned value. Read more