pub trait KeyData: Send + Sync {
// Required method
fn resolve(&self) -> Result<&[u8], Box<dyn Error + Send + Sync>>;
}Expand description
The secret an EncoreAuthKey signs with, resolved each time a call is
signed or verified — so a key that cannot be resolved fails the calls that
use it, not the process.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".