pub struct DeviceInfo {
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§
Source§impl Clone for DeviceInfo
impl Clone for DeviceInfo
Source§fn clone(&self) -> DeviceInfo
fn clone(&self) -> DeviceInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DeviceInfo
impl RefUnwindSafe for DeviceInfo
impl Send for DeviceInfo
impl Sync for DeviceInfo
impl Unpin for DeviceInfo
impl UnsafeUnpin for DeviceInfo
impl UnwindSafe for DeviceInfo
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