Skip to main content

ForgeTags

Trait ForgeTags 

Source
pub trait ForgeTags {
    type Error: StdError + Send + Sync + 'static;

    // Required method
    async fn tag_commit(&self, tag: &str) -> Result<Option<String>, Self::Error>;
}
Expand description

Tag lookup on the forge.

Required Associated Types§

Source

type Error: StdError + Send + Sync + 'static

The failure of a forge tag lookup.

Required Methods§

Source

async fn tag_commit(&self, tag: &str) -> Result<Option<String>, Self::Error>

The commit tag points at on the forge, with annotated tags peeled, or None when the forge has no such tag.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§