Struct VG

Source
pub struct VG {
Show 19 fields pub vg_name: String, pub vg_uuid: UUID, pub vg_fmt: String, pub vg_attr: String, pub vg_size: u64, pub vg_free: u64, pub vg_sysid: String, pub vg_extent_size: u64, pub vg_extent_count: i64, pub vg_free_count: i64, pub max_lv: i64, pub max_pv: i64, pub pv_count: i64, pub lv_count: i64, pub snap_count: i64, pub vg_seqno: i64, pub vg_tags: String, pub vg_mda_count: i64, pub vg_mda_free: u64,
}

Fields§

§vg_name: String§vg_uuid: UUID§vg_fmt: String§vg_attr: String§vg_size: u64§vg_free: u64§vg_sysid: String§vg_extent_size: u64§vg_extent_count: i64§vg_free_count: i64§max_lv: i64§max_pv: i64§pv_count: i64§lv_count: i64§snap_count: i64§vg_seqno: i64§vg_tags: String§vg_mda_count: i64§vg_mda_free: u64

Trait Implementations§

Source§

impl TryFrom<*const RawVG> for VG

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(raw: *const RawVG) -> Result<Self, Self::Error>

Performs the conversion.

Auto Trait Implementations§

§

impl Freeze for VG

§

impl RefUnwindSafe for VG

§

impl Send for VG

§

impl Sync for VG

§

impl Unpin for VG

§

impl UnwindSafe for VG

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.