[−][src]Struct polyfuse::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
Auto Trait Implementations
impl RefUnwindSafe for ConnectionInfo
impl Send for ConnectionInfo
impl Sync for ConnectionInfo
impl Unpin for ConnectionInfo
impl UnwindSafe for ConnectionInfo
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,
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.
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>,