[][src]Struct libfuse_sys::fuse_conn_info

#[repr(C)]
pub struct fuse_conn_info {
    pub proto_major: c_uint,
    pub proto_minor: c_uint,
    pub async_read: c_uint,
    pub max_write: c_uint,
    pub max_readahead: c_uint,
    pub capable: c_uint,
    pub want: c_uint,
    pub max_background: c_uint,
    pub congestion_threshold: c_uint,
    pub reserved: [c_uint; 23],
}

Connection information, passed to the ->init() method

Some of the elements are read-write, these can be changed to indicate the value requested by the filesystem. The requested value must usually be smaller than the indicated value.

Fields

proto_major: c_uint

Major version of the protocol (read-only)

proto_minor: c_uint

Minor version of the protocol (read-only)

async_read: c_uint

Is asynchronous read supported (read-write)

max_write: c_uint

Maximum size of the write buffer

max_readahead: c_uint

Maximum readahead

capable: c_uint

Capability flags, that the kernel supports

want: c_uint

Capability flags, that the filesystem wants to enable

max_background: c_uint

Maximum number of backgrounded requests

congestion_threshold: c_uint

Kernel congestion threshold parameter

reserved: [c_uint; 23]

For future use.

Trait Implementations

impl Clone for fuse_conn_info[src]

impl Copy for fuse_conn_info[src]

impl Debug for fuse_conn_info[src]

impl Default for fuse_conn_info[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.