pub struct Sdk { /* private fields */ }Implementations§
Source§impl Sdk
impl Sdk
Sourcepub fn try_new_exact<P: Into<PathBuf>>(root: P) -> Result<Self, Error>
pub fn try_new_exact<P: Into<PathBuf>>(root: P) -> Result<Self, Error>
Create new Sdk with exact passed SDK path
Sourcepub fn try_from_default_env() -> Result<Self, Error>
pub fn try_from_default_env() -> Result<Self, Error>
Create new Sdk with default env var
Sourcepub fn try_from_default_config() -> Result<Self, Error>
pub fn try_from_default_config() -> Result<Self, Error>
Create new Sdk with default env var
Sourcepub fn try_from_default_path() -> Result<Self, Error>
pub fn try_from_default_path() -> Result<Self, Error>
Create new Sdk with default env var
pub fn try_xdg_unix_path() -> Result<Self, Error>
Auto Trait Implementations§
impl Freeze for Sdk
impl RefUnwindSafe for Sdk
impl Send for Sdk
impl Sync for Sdk
impl Unpin for Sdk
impl UnwindSafe for Sdk
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