pub trait JwsAlgorithm:
Debug
+ Send
+ Sync {
// Required methods
fn name(&self) -> &str;
fn box_clone(&self) -> Box<dyn JwsAlgorithm>;
}Required Methods§
fn box_clone(&self) -> Box<dyn JwsAlgorithm>
Trait Implementations§
Source§impl Clone for Box<dyn JwsAlgorithm>
impl Clone for Box<dyn JwsAlgorithm>
impl Eq for Box<dyn JwsAlgorithm>
Source§impl PartialEq for Box<dyn JwsAlgorithm>
impl PartialEq for Box<dyn JwsAlgorithm>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".