pub struct ResolvedSdk {
pub artifact: String,
pub license: String,
pub license_url: String,
pub path: PathBuf,
pub sdk: Sdk,
pub source_url: Option<String>,
pub target: String,
pub version: String,
}Expand description
A validated SDK tree and its pinned provenance.
Fields§
§artifact: String§license: String§license_url: String§path: PathBuf§sdk: Sdk§source_url: Option<String>§target: String§version: StringImplementations§
Source§impl ResolvedSdk
impl ResolvedSdk
Sourcepub fn stage_runtime(
&self,
output: &Path,
profile: RuntimeProfile,
) -> Result<Vec<StagedFile>>
pub fn stage_runtime( &self, output: &Path, profile: RuntimeProfile, ) -> Result<Vec<StagedFile>>
Copies this SDK’s selected redistributable runtime set into output.
§Errors
Returns an error if the resolved artifact has no runtime manifest or a required file cannot be copied safely.
Trait Implementations§
Source§impl Clone for ResolvedSdk
impl Clone for ResolvedSdk
Source§fn clone(&self) -> ResolvedSdk
fn clone(&self) -> ResolvedSdk
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolvedSdk
impl Debug for ResolvedSdk
Auto Trait Implementations§
impl Freeze for ResolvedSdk
impl RefUnwindSafe for ResolvedSdk
impl Send for ResolvedSdk
impl Sync for ResolvedSdk
impl Unpin for ResolvedSdk
impl UnsafeUnpin for ResolvedSdk
impl UnwindSafe for ResolvedSdk
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