pub struct System;Expand description
The real machine.
Trait Implementations§
Source§impl Machine for System
impl Machine for System
Source§fn docker_running(&self) -> bool
fn docker_running(&self) -> bool
Whether the Docker daemon answers.
Source§fn os(&self) -> String
fn os(&self) -> String
The operating system, as prompts name it:
macOS, Windows, Ubuntu 24.04.Auto Trait Implementations§
impl Freeze for System
impl RefUnwindSafe for System
impl Send for System
impl Sync for System
impl Unpin for System
impl UnsafeUnpin for System
impl UnwindSafe for System
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