pub struct Marks {
pub installed_this_boot: bool,
pub restarted_for_wsl: bool,
}Expand description
What the caller did itself, which no probe can read: it keeps them (by boot) and hands them
to probe.
Fields§
§installed_this_boot: boolThe caller’s own “turn on WSL 2” ran since this boot.
restarted_for_wsl: boolThe caller restarted Windows for WSL in an earlier boot, with no install since.
Trait Implementations§
impl Copy for Marks
impl Eq for Marks
impl StructuralPartialEq for Marks
Auto Trait Implementations§
impl Forget for Marks
impl Freeze for Marks
impl Move for Marks
impl RefUnwindSafe for Marks
impl Send for Marks
impl Sync for Marks
impl Unpin for Marks
impl UnsafeUnpin for Marks
impl UnwindSafe for Marks
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.