pub struct Vdev { /* private fields */ }
Expand description
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.
Implementations§
source§impl Vdev
impl Vdev
sourcepub fn error_statistics(&self) -> &ErrorStatistics
pub fn error_statistics(&self) -> &ErrorStatistics
How many read, write and checksum errors device encountered since last reset.
Trait Implementations§
source§impl PartialEq<CreateVdevRequest> for Vdev
impl PartialEq<CreateVdevRequest> for Vdev
source§fn eq(&self, other: &CreateVdevRequest) -> bool
fn eq(&self, other: &CreateVdevRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Vdev> for CreateVdevRequest
impl PartialEq<Vdev> for CreateVdevRequest
source§impl PartialEq<Vdev> for Vdev
impl PartialEq<Vdev> for Vdev
Vdevs are equal of their type and backing disks are equal.
impl Eq for Vdev
impl StructuralEq for Vdev
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§
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
Mutably borrows from an owned value. Read more