#[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 map_alignment: u16,
pub flags2: u32,
pub unused: [u32; 7],
}Expand description
FUSE_INIT response.
Fields§
§major: u32Major version.
minor: u32Minor version.
max_readahead: u32Maximum readahead size.
flags: u32Flags.
max_background: u16Maximum background requests.
congestion_threshold: u16Congestion threshold.
max_write: u32Maximum write size.
time_gran: u32Time granularity (nanoseconds).
max_pages: u16Maximum pages for a single request.
map_alignment: u16Page-size alignment for DAX mappings, expressed as a power-of-two shift
(e.g. 12 = 4 KiB, 14 = 16 KiB). Kernel reads this from offset 30 of
the init response body; writing to unused[0] (offset 32) was a silent
off-by-one that made Apple Silicon guests treat the host as 4 KiB.
flags2: u32Extended feature flags introduced in FUSE 7.36 (offset 32). Reserved; must be zero until ArcBox requires a feature gated behind this field.
unused: [u32; 7]Reserved tail per FUSE 7.36+ (unused[7] = 28 bytes, offsets 36..64).
Trait Implementations§
Source§impl Clone for FuseInitOut
impl Clone for FuseInitOut
Source§fn clone(&self) -> FuseInitOut
fn clone(&self) -> FuseInitOut
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FuseInitOut
Source§impl Debug for FuseInitOut
impl Debug for FuseInitOut
Auto Trait Implementations§
impl Freeze for FuseInitOut
impl RefUnwindSafe for FuseInitOut
impl Send for FuseInitOut
impl Sync for FuseInitOut
impl Unpin for FuseInitOut
impl UnsafeUnpin for FuseInitOut
impl UnwindSafe for FuseInitOut
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more