[][src]Struct libfuse::ConnectionInfo

pub struct ConnectionInfo<'a>(_);

Connection information passed to Operations::init method.

Methods

impl<'a> ConnectionInfo<'a>[src]

pub fn proto_major(&self) -> c_uint[src]

Returns major version of the protocol.

pub fn proto_minor(&self) -> c_uint[src]

Returns minor version of the protocol.

pub fn max_read(&self) -> c_uint[src]

Returns the maximum size of read requests.

pub fn set_max_read(&mut self, max_read: c_uint)[src]

Returns a mutable reference to the maximum size of read requests.

pub fn capable(&self) -> CapabilityFlags[src]

Returns capability flags that the kernel supports.

pub fn want(&self) -> CapabilityFlags[src]

Returns capability flags that the filesystem wants to enable.

pub fn set_want(&mut self, flags: CapabilityFlags)[src]

Sets capability flags that the filesystem wants to enable.

pub fn max_background(&self) -> c_uint[src]

pub fn set_max_background(&mut self, max_background: c_uint)[src]

pub fn congestion_threshold(&self) -> c_uint[src]

pub fn set_congestion_threshold(&mut self, threshold: c_uint)[src]

pub fn time_gran(&self) -> c_uint[src]

pub fn set_time_gran(&mut self, time_gran: c_uint)[src]

Auto Trait Implementations

impl<'a> Unpin for ConnectionInfo<'a>

impl<'a> Sync for ConnectionInfo<'a>

impl<'a> Send for ConnectionInfo<'a>

impl<'a> !UnwindSafe for ConnectionInfo<'a>

impl<'a> RefUnwindSafe for ConnectionInfo<'a>

Blanket Implementations

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.

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

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

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