#[repr(C)]pub struct WireFilesystemInfo {
pub total_bytes: WireU64,
pub used_bytes: WireU64,
pub total_nodes: WireU64,
pub used_nodes: WireU64,
pub free_shared_pool_bytes: WireU64,
pub fs_id: WireU64,
pub block_size: WireU32,
pub max_filename_size: WireU32,
pub fs_type: WireU32,
pub padding: WireU32,
pub name: [i8; 32],
}
Expand description
The wire type corresponding to FilesystemInfo
.
Fields§
§total_bytes: WireU64
§used_bytes: WireU64
§total_nodes: WireU64
§used_nodes: WireU64
§fs_id: WireU64
§block_size: WireU32
§max_filename_size: WireU32
§fs_type: WireU32
§padding: WireU32
§name: [i8; 32]
Trait Implementations§
Source§impl Clone for WireFilesystemInfo
impl Clone for WireFilesystemInfo
Source§fn clone(&self) -> WireFilesystemInfo
fn clone(&self) -> WireFilesystemInfo
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 WireFilesystemInfo
impl Debug for WireFilesystemInfo
Source§impl<___D> Decode<___D> for WireFilesystemInfowhere
___D: InternalHandleDecoder + ?Sized,
impl<___D> Decode<___D> for WireFilesystemInfowhere
___D: InternalHandleDecoder + ?Sized,
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.Source§impl TakeFrom<WireFilesystemInfo> for FilesystemInfo
impl TakeFrom<WireFilesystemInfo> for FilesystemInfo
Source§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.§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§impl ZeroPadding for WireFilesystemInfo
impl ZeroPadding for WireFilesystemInfo
Source§fn zero_padding(out: &mut MaybeUninit<Self>)
fn zero_padding(out: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for WireFilesystemInfo
impl RefUnwindSafe for WireFilesystemInfo
impl Send for WireFilesystemInfo
impl Sync for WireFilesystemInfo
impl Unpin for WireFilesystemInfo
impl UnwindSafe for WireFilesystemInfo
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