#[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§impl PartialOrd for FilesystemInfo
impl PartialOrd for FilesystemInfo
Source§impl TypeMarker for FilesystemInfo
impl TypeMarker for FilesystemInfo
Source§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
Source§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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)