FuseInitOut

Struct FuseInitOut 

Source
#[repr(C)]
pub struct FuseInitOut { pub major: u32, pub minor: u32, pub max_readahead: u32, pub flags: u32, pub max_background: u16, pub congestion_threshold: u16, pub max_write: u32, pub time_gran: u32, pub max_pages: u16, pub padding: u16, pub unused: [u32; 8], }
Expand description

FUSE init response fuse_init_out

Fields§

§major: u32

FUSE protocol major version

§minor: u32

FUSE protocol minor version

§max_readahead: u32

FUSE maximum readahead size

§flags: u32

FUSE init flags

§max_background: u16

Max background pending requests under processing

§congestion_threshold: u16

Notify FUSE kernel module to mark the filesystem as “congested” if the number of pending requests above this threshold

§max_write: u32

The max size of write requests from the kernel

§time_gran: u32

The timestamp granularity supported by the FUSE filesystem The default is 1 for full nano-second resolution, 1000000000 for second resolution

§max_pages: u16
§padding: u16

Alignment padding

§unused: [u32; 8]

For future use

Trait Implementations§

Source§

impl AsIoSlice for FuseInitOut

Source§

fn as_io_slice(&self) -> IoSlice<'_>

Convert the type to IoSlice
Source§

fn can_convert(&self) -> bool

Tell if the type is ready to be converted, please call it before calling as_io_slice
Source§

fn len(&self) -> usize

The length of the IoSlice
Source§

fn is_empty(&self) -> bool

IoSlice is empty
Source§

impl Debug for FuseInitOut

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl CouldBeAsIoSliceList for FuseInitOut

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> AsIoSliceList for T

Source§

fn as_io_slice_list(&self) -> Vec<IoSlice<'_>>

Convert the type to a Vec of IoSlice
Source§

fn len(&self) -> usize

The sum of the length of all the IoSlices in the Vec
Source§

fn is_empty(&self) -> bool

Vec of IoSlice is empty
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<U> Cast for U

Source§

fn cast<T>(self) -> T
where T: TryFrom<Self>, Self: Sized + Display + Copy,

Performs the conversion.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more