#[repr(C)]pub struct WSLDistributionInformation {
pub Id: GUID,
pub Name: PCWSTR,
pub PidNamespace: u64,
pub PackageFamilyName: PCWSTR,
pub InitPid: u32,
pub Flavor: PCWSTR,
pub Version: PCWSTR,
}
Fields§
§Id: GUID
Distribution ID, guaranteed to be the same accross reboots
Name: PCWSTR
§PidNamespace: u64
§PackageFamilyName: PCWSTR
Package family name, or NULL if none
InitPid: u32
Pid of the init process. Introduced in 2.0.5
Flavor: PCWSTR
Type of distribution (ubuntu, debian, …), introduced in TODO
Version: PCWSTR
Distribution version, introduced in TODO
Auto Trait Implementations§
impl Freeze for WSLDistributionInformation
impl RefUnwindSafe for WSLDistributionInformation
impl !Send for WSLDistributionInformation
impl !Sync for WSLDistributionInformation
impl Unpin for WSLDistributionInformation
impl UnwindSafe for WSLDistributionInformation
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