Trait torn_key_pool::ApiKey
source · pub trait ApiKey: Sync + Send + Debug + Clone {
type IdType: PartialEq + Eq + Hash + Send + Sync + Debug + Clone;
// Required methods
fn value(&self) -> &str;
fn id(&self) -> Self::IdType;
}Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.