Struct fidl_fuchsia_io::FilesystemInfo
source · #[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
The number of data bytes which may be stored in a filesystem. This does not count metadata or other filesystem overhead like block rounding.
used_bytes: u64
The number of data bytes which are in use by the filesystem. This does not count metadata or other filesystem overhead like block rounding.
total_nodes: u64
The number of nodes which may be stored in the filesystem.
used_nodes: u64
The number of nodes used by the filesystem.
The amount of additional space which may be allocated from the underlying volume manager. If unsupported or there is no space for the filesystem to grow, this will be zero.
fs_id: u64
A unique identifier for this filesystem instance. Will not be preserved across reboots.
Implementors should create a kernel object (normally an event) and use its koid for the filesystem ID. This koid guarantees uniqueness in the system.
block_size: u32
The size in bytes of a single filesystem block.
max_filename_size: u32
The maximum length of a filesystem name.
fs_type: u32
A unique identifier for the type of the underlying filesystem.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FilesystemInfo
impl Debug for FilesystemInfo
source§impl<D: ResourceDialect> Decode<FilesystemInfo, D> for FilesystemInfo
impl<D: ResourceDialect> Decode<FilesystemInfo, D> for FilesystemInfo
source§impl<D: ResourceDialect> Encode<FilesystemInfo, D> for &FilesystemInfo
impl<D: ResourceDialect> Encode<FilesystemInfo, D> for &FilesystemInfo
source§impl<D: ResourceDialect, T0: Encode<u64, D>, T1: Encode<u64, D>, T2: Encode<u64, D>, T3: Encode<u64, D>, T4: Encode<u64, D>, T5: Encode<u64, D>, T6: Encode<u32, D>, T7: Encode<u32, D>, T8: Encode<u32, D>, T9: Encode<u32, D>, T10: Encode<Array<i8, 32>, D>> Encode<FilesystemInfo, D> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
impl<D: ResourceDialect, T0: Encode<u64, D>, T1: Encode<u64, D>, T2: Encode<u64, D>, T3: Encode<u64, D>, T4: Encode<u64, D>, T5: Encode<u64, D>, T6: Encode<u32, D>, T7: Encode<u32, D>, T8: Encode<u32, D>, T9: Encode<u32, D>, T10: Encode<Array<i8, 32>, D>> Encode<FilesystemInfo, D> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
source§impl Hash for FilesystemInfo
impl Hash for FilesystemInfo
source§impl Ord for FilesystemInfo
impl Ord for FilesystemInfo
source§fn cmp(&self, other: &FilesystemInfo) -> Ordering
fn cmp(&self, other: &FilesystemInfo) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for FilesystemInfo
impl PartialEq for FilesystemInfo
source§fn eq(&self, other: &FilesystemInfo) -> bool
fn eq(&self, other: &FilesystemInfo) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FilesystemInfo
impl PartialOrd for FilesystemInfo
source§fn partial_cmp(&self, other: &FilesystemInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &FilesystemInfo) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TypeMarker for FilesystemInfo
impl TypeMarker for FilesystemInfo
§type Owned = FilesystemInfo
type Owned = FilesystemInfo
source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read moresource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.source§impl ValueTypeMarker for FilesystemInfo
impl ValueTypeMarker for FilesystemInfo
§type Borrowed<'a> = &'a FilesystemInfo
type Borrowed<'a> = &'a FilesystemInfo
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Copy for FilesystemInfo
impl Eq for FilesystemInfo
impl Persistable for FilesystemInfo
impl StructuralPartialEq for FilesystemInfo
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§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)