[−][src]Struct fuser::KernelConfig
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
Auto Trait Implementations
impl RefUnwindSafe for KernelConfig
[src]
impl Send for KernelConfig
[src]
impl Sync for KernelConfig
[src]
impl Unpin for KernelConfig
[src]
impl UnwindSafe for KernelConfig
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,