8 lines
238 B
Rust
8 lines
238 B
Rust
|
use crate::key::error::KeyCategory;
|
||
|
|
||
|
/// Key requirements are functions that we expect all keys to have
|
||
|
pub(crate) trait KeyRequirements {
|
||
|
/// Returns the category of the key for error reporting
|
||
|
fn key_category(&self) -> KeyCategory;
|
||
|
}
|