pub struct WslDistro {
pub name: String,
pub home_path: Option<PathBuf>,
}Expand description
Information about a detected WSL distribution.
Fields§
§name: StringDistribution name (e.g., “Ubuntu”, “Debian”).
home_path: Option<PathBuf>Windows UNC path to the distro’s home directory
(e.g., \\wsl.localhost\Ubuntu\home\user).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WslDistro
impl RefUnwindSafe for WslDistro
impl Send for WslDistro
impl Sync for WslDistro
impl Unpin for WslDistro
impl UnsafeUnpin for WslDistro
impl UnwindSafe for WslDistro
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