#[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],
}Expand description
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_uintMajor version of the protocol (read-only)
proto_minor: c_uintMinor version of the protocol (read-only)
async_read: c_uintIs asynchronous read supported (read-write)
max_write: c_uintMaximum size of the write buffer
max_readahead: c_uintMaximum readahead
capable: c_uintCapability flags, that the kernel supports
want: c_uintCapability flags, that the filesystem wants to enable
max_background: c_uintMaximum number of backgrounded requests
congestion_threshold: c_uintKernel congestion threshold parameter
reserved: [c_uint; 23]For future use.
Trait Implementations§
Source§impl Clone for fuse_conn_info
impl Clone for fuse_conn_info
Source§fn clone(&self) -> fuse_conn_info
fn clone(&self) -> fuse_conn_info
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for fuse_conn_info
impl Debug for fuse_conn_info
Source§impl Default for fuse_conn_info
impl Default for fuse_conn_info
Source§fn default() -> fuse_conn_info
fn default() -> fuse_conn_info
Returns the “default value” for a type. Read more
impl Copy for fuse_conn_info
Auto Trait Implementations§
impl Freeze for fuse_conn_info
impl RefUnwindSafe for fuse_conn_info
impl Send for fuse_conn_info
impl Sync for fuse_conn_info
impl Unpin for fuse_conn_info
impl UnwindSafe for fuse_conn_info
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more