Trait SignRepository

Source
pub trait SignRepository {
    // Required method
    fn sign_refs<G>(
        &self,
        signer: &Device<G>,
    ) -> Result<SignedRefs<Verified>, RepositoryError>
       where G: Signer<Signature>;
}
Expand description

Allows signing refs.

Required Methods§

Source

fn sign_refs<G>( &self, signer: &Device<G>, ) -> Result<SignedRefs<Verified>, RepositoryError>
where G: Signer<Signature>,

Sign the repository’s refs under the refs/rad/sigrefs branch.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§