pub trait DynAssociatedAlgorithmIdentifier {
// Required method
fn algorithm_identifier(&self) -> Result<AlgorithmIdentifierOwned>;
}Expand description
Returns AlgorithmIdentifier associated with the structure.
This is useful for e.g. keys for digital signature algorithms.
Required Methods§
Sourcefn algorithm_identifier(&self) -> Result<AlgorithmIdentifierOwned>
fn algorithm_identifier(&self) -> Result<AlgorithmIdentifierOwned>
AlgorithmIdentifier for this structure.
§Errors
Returns errors specific to the concrete type which impls this trait.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<T> DynAssociatedAlgorithmIdentifier for Twhere
T: AssociatedAlgorithmIdentifier,
Available on crate feature
alloc only.