Struct fuser::KernelConfig

source ·
pub struct KernelConfig { /* private fields */ }
Expand description

Configuration of the fuse kernel module connection

Implementations§

Set the maximum write size for a single request

On success returns the previous value. On error returns the nearest value which will succeed

Set the maximum readahead size

On success returns the previous value. On error returns the nearest value which will succeed

Add a set of capabilities.

On success returns Ok, else return bits of capabilities not supported when capabilities you provided are not all supported by kernel.

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.