pub struct DiskDevice {
pub drive: Drive,
pub parent: Block,
pub partitions: Vec<Block>,
}Expand description
A collection of UDisks2 drives and their associated blocks.
§Implementation Details
- Block partitions are sorted by their physical offsets.
Fields§
§drive: Drive§parent: Block§partitions: Vec<Block>Trait Implementations§
Source§impl Clone for DiskDevice
impl Clone for DiskDevice
Source§fn clone(&self) -> DiskDevice
fn clone(&self) -> DiskDevice
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 moreSource§impl Debug for DiskDevice
impl Debug for DiskDevice
Source§impl Default for DiskDevice
impl Default for DiskDevice
Source§fn default() -> DiskDevice
fn default() -> DiskDevice
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DiskDevice
impl RefUnwindSafe for DiskDevice
impl Send for DiskDevice
impl Sync for DiskDevice
impl Unpin for DiskDevice
impl UnwindSafe for DiskDevice
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