pub struct DevInfo {
pub devid: u64,
pub uuid: Uuid,
pub bytes_used: u64,
pub total_bytes: u64,
pub path: String,
}Expand description
Information about a single device within a btrfs filesystem, as returned
by BTRFS_IOC_DEV_INFO.
Fields§
§devid: u64Device ID.
uuid: UuidDevice UUID.
bytes_used: u64Number of bytes used on this device.
total_bytes: u64Total size of this device in bytes.
path: StringPath to the block device, e.g. /dev/sda.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DevInfo
impl RefUnwindSafe for DevInfo
impl Send for DevInfo
impl Sync for DevInfo
impl Unpin for DevInfo
impl UnsafeUnpin for DevInfo
impl UnwindSafe for DevInfo
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