pub enum OS {
Windows(String),
Linux {
info: OsRelease,
partitions: Vec<PartitionID>,
targets: Vec<PathBuf>,
},
MacOs(String),
}
Expand description
Describes the OS found on a partition.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OS
impl RefUnwindSafe for OS
impl Send for OS
impl Sync for OS
impl Unpin for OS
impl UnwindSafe for OS
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