#[repr(C)]pub struct FilesystemInfo {
pub total_bytes: u64,
pub used_bytes: u64,
pub total_nodes: u64,
pub used_nodes: u64,
pub free_shared_pool_bytes: u64,
pub fs_id: u64,
pub block_size: u32,
pub max_filename_size: u32,
pub fs_type: u32,
pub padding: u32,
pub name: [i8; 32],
}
Fields§
§total_bytes: u64
§used_bytes: u64
§total_nodes: u64
§used_nodes: u64
§fs_id: u64
§block_size: u32
§max_filename_size: u32
§fs_type: u32
§padding: u32
§name: [i8; 32]
Trait Implementations§
Source§impl Clone for FilesystemInfo
impl Clone for FilesystemInfo
Source§fn clone(&self) -> FilesystemInfo
fn clone(&self) -> FilesystemInfo
Returns a copy 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 FilesystemInfo
impl Debug for FilesystemInfo
Source§impl Encodable for FilesystemInfo
impl Encodable for FilesystemInfo
Source§const COPY_OPTIMIZATION: CopyOptimization<Self>
const COPY_OPTIMIZATION: CopyOptimization<Self>
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§type Encoded = WireFilesystemInfo
type Encoded = WireFilesystemInfo
The wire type for the value.
Source§impl EncodableOption for Box<FilesystemInfo>
impl EncodableOption for Box<FilesystemInfo>
Source§type EncodedOption = WireBox<WireFilesystemInfo>
type EncodedOption = WireBox<WireFilesystemInfo>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for FilesystemInfowhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<___E> for FilesystemInfowhere
___E: InternalHandleEncoder + ?Sized,
Source§impl<___E> EncodeOption<___E> for Box<FilesystemInfo>where
___E: Encoder + ?Sized,
FilesystemInfo: Encode<___E>,
impl<___E> EncodeOption<___E> for Box<FilesystemInfo>where
___E: Encoder + ?Sized,
FilesystemInfo: Encode<___E>,
Source§fn encode_option(
this: Option<&mut Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<&mut Self>, encoder: &mut ___E, out: &mut MaybeUninit<Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl TakeFrom<WireFilesystemInfo> for FilesystemInfo
impl TakeFrom<WireFilesystemInfo> for FilesystemInfo
Source§const COPY_OPTIMIZATION: CopyOptimization<Self>
const COPY_OPTIMIZATION: CopyOptimization<Self>
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§fn take_from(from: &WireFilesystemInfo) -> Self
fn take_from(from: &WireFilesystemInfo) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.Auto Trait Implementations§
impl Freeze for FilesystemInfo
impl RefUnwindSafe for FilesystemInfo
impl Send for FilesystemInfo
impl Sync for FilesystemInfo
impl Unpin for FilesystemInfo
impl UnwindSafe for FilesystemInfo
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