Struct btfuse::BtfuseConfig
source · pub struct BtfuseConfig {
pub cred_store: CredStoreConfig,
pub fs_kind: FsKind,
pub mnt_dir: PathBuf,
pub mnt_options: String,
pub threads: Option<NonZeroUsize>,
}
Fields§
§cred_store: CredStoreConfig
Configures the credential store used.
fs_kind: FsKind
Configures the filesystem provider used.
mnt_dir: PathBuf
Sets the directory where the filesystem will be mounted.
mnt_options: String
Specifies the options to use for the filesystem mount.
threads: Option<NonZeroUsize>
Prescribes the number of threads to use for handling FUSE messages from the kernel. If not specified, then the number of threads will be equal to the number of logical cores on the system.
Implementations§
Trait Implementations§
source§impl Clone for BtfuseConfig
impl Clone for BtfuseConfig
source§fn clone(&self) -> BtfuseConfig
fn clone(&self) -> BtfuseConfig
Returns a copy of the value. Read more
1.0.0 · 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 BtfuseConfig
impl Debug for BtfuseConfig
source§impl Default for BtfuseConfig
impl Default for BtfuseConfig
source§impl<'de> Deserialize<'de> for BtfuseConfig
impl<'de> Deserialize<'de> for BtfuseConfig
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 RefUnwindSafe for BtfuseConfig
impl Send for BtfuseConfig
impl Sync for BtfuseConfig
impl Unpin for BtfuseConfig
impl UnwindSafe for BtfuseConfig
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