#[non_exhaustive]pub struct Wsl {
pub state: WslState,
pub virtualization_off: bool,
pub probes: Probes,
}Expand description
Where WSL 2 stands, and whether virtualization looks off in the firmware, with the signals read (for a log).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.state: WslStateWhere it stands (classify).
virtualization_off: boolVirtualization looks off in the firmware (virtualization_off).
probes: ProbesThe signals it was decided on.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Wsl
impl Freeze for Wsl
impl Move for Wsl
impl RefUnwindSafe for Wsl
impl Send for Wsl
impl Sync for Wsl
impl Unpin for Wsl
impl UnsafeUnpin for Wsl
impl UnwindSafe for Wsl
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