[][src]Struct fuser::KernelConfig

pub struct KernelConfig { /* fields omitted */ }

Configuration of the fuse kernel module connection

Implementations

impl KernelConfig[src]

pub fn set_max_write(&mut self, value: u32) -> Result<u32, u32>[src]

Set the maximum write size for a single request

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

pub fn set_max_readahead(&mut self, value: u32) -> Result<u32, u32>[src]

Set the maximum readahead size

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

pub fn add_capabilities(&mut self, capabilities_to_add: u32) -> Result<(), u32>[src]

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

impl Debug for KernelConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.