[−][src]Struct sup::Registry
Substrate registry
Fields
config: Config
Config
dir: String
Substrate git directory
Implementations
impl Registry
[src]
pub fn new() -> Result<Registry>
[src]
New registry
pub fn source(&self) -> Result<Vec<(String, String)>>
[src]
List crates
pub fn update(&self) -> Result<()>
[src]
Update registry
pub fn checkout(&self, patt: &str) -> Result<()>
[src]
Checkout to target tag
pub fn cur_tag(&self) -> Result<String>
[src]
Get current tag
pub fn latest_tag(&self) -> Result<String>
[src]
Get the latest tag
pub fn tag(&self) -> Result<Vec<String>>
[src]
List substrate tags
Auto Trait Implementations
impl RefUnwindSafe for Registry
impl Send for Registry
impl Sync for Registry
impl Unpin for Registry
impl UnwindSafe for Registry
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,