pub struct MountOptions {
pub mount_point: Option<String>,
pub readonly: bool,
pub extra_options: Vec<String>,
pub force_ntfs3g: bool,
}Expand description
Options for mount.
Fields§
§mount_point: Option<String>Explicit mount point. If None, use <cfg.mount_base>/<volume_name>.
readonly: boolRead-only mount.
extra_options: Vec<String>Extra ntfs-3g mount options (space-separated).
force_ntfs3g: boolUse ntfs-3g directly rather than diskutil mount.
Trait Implementations§
Source§impl Clone for MountOptions
impl Clone for MountOptions
Source§fn clone(&self) -> MountOptions
fn clone(&self) -> MountOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MountOptions
impl Debug for MountOptions
Source§impl Default for MountOptions
impl Default for MountOptions
Source§fn default() -> MountOptions
fn default() -> MountOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MountOptions
impl<'de> Deserialize<'de> for MountOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MountOptions
impl RefUnwindSafe for MountOptions
impl Send for MountOptions
impl Sync for MountOptions
impl Unpin for MountOptions
impl UnsafeUnpin for MountOptions
impl UnwindSafe for MountOptions
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