pub trait SchemeProvider:
Clone
+ Send
+ Sync
+ 'static {
type Scheme: Scheme;
// Required method
fn scheme(&self, epoch: Epoch) -> Option<Arc<Self::Scheme>>;
}Expand description
Supplies the signing scheme the marshal should use for a given epoch.
Required Associated Types§
Required Methods§
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.