Skip to main content

MavenRemote

Trait MavenRemote 

Source
pub trait MavenRemote: Send + Sync {
    // Required method
    fn get(
        &self,
        url: &str,
        actor: &str,
        token: &Secret,
    ) -> Result<Option<Vec<u8>>>;
}

Required Methods§

Source

fn get(&self, url: &str, actor: &str, token: &Secret) -> Result<Option<Vec<u8>>>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§