#[repr(C)]pub struct FilesystemInfo {
pub total_bytes: Uint64,
pub used_bytes: Uint64,
pub total_nodes: Uint64,
pub used_nodes: Uint64,
pub free_shared_pool_bytes: Uint64,
pub fs_id: Uint64,
pub block_size: Uint32,
pub max_filename_size: Uint32,
pub fs_type: Uint32,
pub padding: Uint32,
pub name: [i8; 32],
}Expand description
The wire type corresponding to FilesystemInfo.
Fields§
§total_bytes: Uint64§used_bytes: Uint64§total_nodes: Uint64§used_nodes: Uint64§fs_id: Uint64§block_size: Uint32§max_filename_size: Uint32§fs_type: Uint32§padding: Uint32§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 duplicate 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 Constrained for FilesystemInfo
impl Constrained for FilesystemInfo
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, FilesystemInfo>,
_: <FilesystemInfo as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, FilesystemInfo>, _: <FilesystemInfo as Constrained>::Constraint, ) -> Result<(), ValidationError>
Validate a slot of this type against a constraint. Can be called when
pointers/envelopes are just presence markers.
Source§impl Debug for FilesystemInfo
impl Debug for FilesystemInfo
Source§impl<___D> Decode<___D> for FilesystemInfowhere
___D: InternalHandleDecoder + ?Sized,
impl<___D> Decode<___D> for FilesystemInfowhere
___D: InternalHandleDecoder + ?Sized,
Source§impl<'a, ___E> Encode<FilesystemInfo, ___E> for &'a FilesystemInfowhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<FilesystemInfo, ___E> for &'a FilesystemInfowhere
___E: InternalHandleEncoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<FilesystemInfo>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<FilesystemInfo>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> Encode<FilesystemInfo, ___E> for FilesystemInfowhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<FilesystemInfo, ___E> for FilesystemInfowhere
___E: InternalHandleEncoder + ?Sized,
Source§const COPY_OPTIMIZATION: CopyOptimization<FilesystemInfo, FilesystemInfo>
const COPY_OPTIMIZATION: CopyOptimization<FilesystemInfo, FilesystemInfo>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<FilesystemInfo>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<FilesystemInfo>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<___E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Encode<FilesystemInfo, ___E> for FilesystemInfo<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<Uint64, ___E>,
T1: Encode<Uint64, ___E>,
T2: Encode<Uint64, ___E>,
T3: Encode<Uint64, ___E>,
T4: Encode<Uint64, ___E>,
T5: Encode<Uint64, ___E>,
T6: Encode<Uint32, ___E>,
T7: Encode<Uint32, ___E>,
T8: Encode<Uint32, ___E>,
T9: Encode<Uint32, ___E>,
T10: Encode<[i8; 32], ___E>,
impl<___E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Encode<FilesystemInfo, ___E> for FilesystemInfo<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<Uint64, ___E>,
T1: Encode<Uint64, ___E>,
T2: Encode<Uint64, ___E>,
T3: Encode<Uint64, ___E>,
T4: Encode<Uint64, ___E>,
T5: Encode<Uint64, ___E>,
T6: Encode<Uint32, ___E>,
T7: Encode<Uint32, ___E>,
T8: Encode<Uint32, ___E>,
T9: Encode<Uint32, ___E>,
T10: Encode<[i8; 32], ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<FilesystemInfo>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<FilesystemInfo>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl FromWire<FilesystemInfo> for FilesystemInfo
impl FromWire<FilesystemInfo> for FilesystemInfo
Source§const COPY_OPTIMIZATION: CopyOptimization<FilesystemInfo, FilesystemInfo>
const COPY_OPTIMIZATION: CopyOptimization<FilesystemInfo, FilesystemInfo>
Source§fn from_wire(wire: FilesystemInfo) -> FilesystemInfo
fn from_wire(wire: FilesystemInfo) -> FilesystemInfo
Converts the given owned value to this type.
Source§impl FromWireRef<FilesystemInfo> for FilesystemInfo
impl FromWireRef<FilesystemInfo> for FilesystemInfo
Source§fn from_wire_ref(wire: &FilesystemInfo) -> FilesystemInfo
fn from_wire_ref(wire: &FilesystemInfo) -> FilesystemInfo
Converts the given reference to this type.
Source§impl IntoNatural for FilesystemInfo
impl IntoNatural for FilesystemInfo
Source§type Natural = FilesystemInfo
type Natural = FilesystemInfo
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl Wire for FilesystemInfo
impl Wire for FilesystemInfo
Source§type Narrowed<'de> = FilesystemInfo
type Narrowed<'de> = FilesystemInfo
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(out_: &mut MaybeUninit<FilesystemInfo>)
fn zero_padding(out_: &mut MaybeUninit<FilesystemInfo>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for FilesystemInfo
impl RefUnwindSafe for FilesystemInfo
impl Send for FilesystemInfo
impl Sync for FilesystemInfo
impl Unpin for FilesystemInfo
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]