pub struct RuntimeRegistry { /* private fields */ }Implementations§
Source§impl RuntimeRegistry
impl RuntimeRegistry
pub fn new() -> Self
pub fn root(&self) -> &Path
pub fn install_local( &self, target: &str, channel: &str, source: &Path, expected_sha256: Option<&str>, ) -> Result<RuntimeManifest>
pub fn find(&self, target: &str, channel: &str) -> Result<Option<CachedRuntime>>
pub fn list(&self) -> Result<Vec<CachedRuntime>>
Trait Implementations§
Source§impl Clone for RuntimeRegistry
impl Clone for RuntimeRegistry
Source§fn clone(&self) -> RuntimeRegistry
fn clone(&self) -> RuntimeRegistry
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 RuntimeRegistry
impl Debug for RuntimeRegistry
Auto Trait Implementations§
impl Freeze for RuntimeRegistry
impl RefUnwindSafe for RuntimeRegistry
impl Send for RuntimeRegistry
impl Sync for RuntimeRegistry
impl Unpin for RuntimeRegistry
impl UnsafeUnpin for RuntimeRegistry
impl UnwindSafe for RuntimeRegistry
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