pub trait KeyExtractable {
// Required method
fn extract_key(&self, request_parts: &Parts) -> BarnacleKey;
}
Expand description
Trait to extract the key from any payload type
pub trait KeyExtractable {
// Required method
fn extract_key(&self, request_parts: &Parts) -> BarnacleKey;
}
Trait to extract the key from any payload type