pub struct VdevTree {
pub vdev_type: String,
pub ashift: u64,
pub asize: u64,
pub guid: u64,
}Expand description
The P0 subset of the nested vdev_tree config.
Fields§
§vdev_type: Stringvdev type (e.g. "file", "disk", "raidz", "mirror").
ashift: u64ashift — log2 of the minimum allocation/sector size.
asize: u64asize — allocatable size of the vdev in bytes.
guid: u64vdev guid.
Implementations§
Trait Implementations§
impl Eq for VdevTree
impl StructuralPartialEq for VdevTree
Auto Trait Implementations§
impl Forget for VdevTree
impl Freeze for VdevTree
impl Move for VdevTree
impl RefUnwindSafe for VdevTree
impl Send for VdevTree
impl Sync for VdevTree
impl Unpin for VdevTree
impl UnsafeUnpin for VdevTree
impl UnwindSafe for VdevTree
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