#[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 FromWire<WireFilesystemInfo> for FilesystemInfo
impl FromWire<WireFilesystemInfo> for FilesystemInfo
Source§const COPY_OPTIMIZATION: CopyOptimization<WireFilesystemInfo, Self>
const COPY_OPTIMIZATION: CopyOptimization<WireFilesystemInfo, Self>
Source§fn from_wire(wire: WireFilesystemInfo) -> Self
fn from_wire(wire: WireFilesystemInfo) -> Self
Converts the given
wire
to this type.Source§impl FromWireRef<WireFilesystemInfo> for FilesystemInfo
impl FromWireRef<WireFilesystemInfo> for FilesystemInfo
Source§fn from_wire_ref(wire: &WireFilesystemInfo) -> Self
fn from_wire_ref(wire: &WireFilesystemInfo) -> Self
Converts the given
wire
reference to this type.Source§impl Wire for WireFilesystemInfo
impl Wire for WireFilesystemInfo
Source§type Decoded<'de> = WireFilesystemInfo
type Decoded<'de> = WireFilesystemInfo
The decoded wire type, restricted to the
'de
lifetime.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