#[repr(C)]pub struct VolumeManagerInfo {
pub slice_size: u64,
pub slice_count: u64,
pub assigned_slice_count: u64,
pub maximum_slice_count: u64,
pub max_virtual_slice: u64,
}
Expand description
VolumeManagerInfo describes the properties of the volume manager and not each individual volume.
Fields§
§slice_size: u64
Size of a single slice, in bytes.
slice_count: u64
Number of slices the volume manager is able use right now. This counts the allocated_slice_count plus the number of available slices.
assigned_slice_count: u64
Number of slices currently assigned to partitions.
maximum_slice_count: u64
The maximum capacity which the Volume Manager could grow to utilize if the partition containing the Volume Manager itself expands (i.e., the Volume Manager is initialized on a GPT partition that has extended beyond the originally allocated capacity). This value is the number of entries reserved in the volume manager header and is not related to the size of the physical device (which may be larger or smaller).
max_virtual_slice: u64
Largest value that can be used for a virtual slice number.
Trait Implementations§
Source§impl Clone for VolumeManagerInfo
impl Clone for VolumeManagerInfo
Source§fn clone(&self) -> VolumeManagerInfo
fn clone(&self) -> VolumeManagerInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for VolumeManagerInfo
impl Debug for VolumeManagerInfo
Source§impl<D: ResourceDialect> Decode<VolumeManagerInfo, D> for VolumeManagerInfo
impl<D: ResourceDialect> Decode<VolumeManagerInfo, D> for VolumeManagerInfo
Source§impl<D: ResourceDialect> Encode<VolumeManagerInfo, D> for &VolumeManagerInfo
impl<D: ResourceDialect> Encode<VolumeManagerInfo, D> for &VolumeManagerInfo
Source§impl<D: ResourceDialect, T0: Encode<u64, D>, T1: Encode<u64, D>, T2: Encode<u64, D>, T3: Encode<u64, D>, T4: Encode<u64, D>> Encode<VolumeManagerInfo, D> for (T0, T1, T2, T3, T4)
impl<D: ResourceDialect, T0: Encode<u64, D>, T1: Encode<u64, D>, T2: Encode<u64, D>, T3: Encode<u64, D>, T4: Encode<u64, D>> Encode<VolumeManagerInfo, D> for (T0, T1, T2, T3, T4)
Source§impl Hash for VolumeManagerInfo
impl Hash for VolumeManagerInfo
Source§impl Ord for VolumeManagerInfo
impl Ord for VolumeManagerInfo
Source§fn cmp(&self, other: &VolumeManagerInfo) -> Ordering
fn cmp(&self, other: &VolumeManagerInfo) -> 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 VolumeManagerInfo
impl PartialEq for VolumeManagerInfo
Source§impl PartialOrd for VolumeManagerInfo
impl PartialOrd for VolumeManagerInfo
Source§impl TypeMarker for VolumeManagerInfo
impl TypeMarker for VolumeManagerInfo
Source§type Owned = VolumeManagerInfo
type Owned = VolumeManagerInfo
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 VolumeManagerInfo
impl ValueTypeMarker for VolumeManagerInfo
Source§type Borrowed<'a> = &'a VolumeManagerInfo
type Borrowed<'a> = &'a VolumeManagerInfo
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Copy for VolumeManagerInfo
impl Eq for VolumeManagerInfo
impl Persistable for VolumeManagerInfo
impl StructuralPartialEq for VolumeManagerInfo
Auto Trait Implementations§
impl Freeze for VolumeManagerInfo
impl RefUnwindSafe for VolumeManagerInfo
impl Send for VolumeManagerInfo
impl Sync for VolumeManagerInfo
impl Unpin for VolumeManagerInfo
impl UnwindSafe for VolumeManagerInfo
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
)