[][src]Struct polyfuse::ConnectionInfo

pub struct ConnectionInfo(_);

Information about the connection associated with a session.

Methods

impl ConnectionInfo[src]

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

Returns the major version of the protocol.

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

Returns the minor version of the protocol.

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

Return a set of capability flags sent to the kernel driver.

pub fn no_open_support(&self) -> bool[src]

Return whether the kernel supports for zero-message opens.

When the returned value is true, the kernel treat an ENOSYS error for a FUSE_OPEN request as successful and does not send subsequent open requests. Otherwise, the filesystem should implement the handler for open requests appropriately.

pub fn no_opendir_support(&self) -> bool[src]

Return whether the kernel supports for zero-message opendirs.

See the documentation of no_open_support for details.

pub fn max_readahead(&self) -> u32[src]

Returns the maximum readahead.

pub fn max_write(&self) -> u32[src]

Returns the maximum size of the write buffer.

Trait Implementations

impl Debug for ConnectionInfo[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.