pub struct Environment {
pub disks: Vec<Disk>,
}Expand description
Live inventory of the machine’s attached devices.
UI-only and never serialized. Shaped to be re-emitted: a frontend
replaces its whole view on each crate::UiSignal::Environment, so a
future live observer is purely additive. Each item carries a stable key
(e.g. Disk::name) for later diffing.
Fields§
§disks: Vec<Disk>Block devices and their mounts.
Trait Implementations§
Source§impl Clone for Environment
impl Clone for Environment
Source§impl Debug for Environment
impl Debug for Environment
Auto Trait Implementations§
impl Freeze for Environment
impl RefUnwindSafe for Environment
impl Send for Environment
impl Sync for Environment
impl Unpin for Environment
impl UnsafeUnpin for Environment
impl UnwindSafe for Environment
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