[−][src]Struct libzetta::zpool::vdev::Vdev
Basic zpool building block.
A pool is made up of one or more vdevs, which themselves can be a single disk or a group of disks, in the case of a RAID transform. When multiple vdevs are used, ZFS spreads data across the vdevs to increase performance and maximize usable space.
Methods
impl Vdev
[src]
pub fn kind(&self) -> &VdevType
[src]
Type of Vdev
pub fn health(&self) -> &Health
[src]
Current Health of Vdev
pub fn reason(&self) -> &Option<Reason>
[src]
Reason why vdev is in this state
pub fn disks(&self) -> &Vec<Disk>
[src]
Backing devices for this vdev
pub fn error_statistics(&self) -> &ErrorStatistics
[src]
How many read, write and checksum errors device encountered since last reset.
impl Vdev
[src]
pub fn builder() -> VdevBuilder
[src]
Create a builder - a referred way of creating Vdev structure.
Trait Implementations
impl Clone for Vdev
[src]
impl Debug for Vdev
[src]
impl Eq for Vdev
[src]
impl PartialEq<CreateVdevRequest> for Vdev
[src]
fn eq(&self, other: &CreateVdevRequest) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<Vdev> for CreateVdevRequest
[src]
impl PartialEq<Vdev> for Vdev
[src]
Vdevs are equal of their type and backing disks are equal.
impl StructuralEq for Vdev
[src]
Auto Trait Implementations
impl RefUnwindSafe for Vdev
impl Send for Vdev
impl Sync for Vdev
impl Unpin for Vdev
impl UnwindSafe for Vdev
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,