#[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: GUIDDistribution ID, guaranteed to be the same accross reboots
Name: PCWSTR§PidNamespace: u64§PackageFamilyName: PCWSTRPackage family name, or NULL if none
InitPid: u32Pid of the init process. Introduced in 2.0.5
Flavor: PCWSTRType of distribution (ubuntu, debian, …), introduced in TODO
Version: PCWSTRDistribution 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