[][src]Struct wslapi::Configuration

pub struct Configuration {
    pub version: ULONG,
    pub default_uid: ULONG,
    pub flags: WSL_DISTRIBUTION_FLAGS,
    pub default_environment_variables: EnvironmentVariables,
}

The structified result of WslGetDistributionConfiguration

Fields

version: ULONG

The version of WSL for which this distribution is configured.

default_uid: ULONG

The default user ID used when launching new WSL sessions for this distribution.

flags: WSL_DISTRIBUTION_FLAGS

The flags governing the behavior of this distribution.

default_environment_variables: EnvironmentVariables

The default environment variable strings used when launching new WSL sessions for this distribution.

Trait Implementations

impl Default for Configuration[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.