pub trait KeyType {
type Description: KeyDescription + ?Sized;
type Payload: KeyPayload + ?Sized;
// Required method
fn name() -> &'static str;
}
Expand description
A trait for representing a type of key in the Linux keyring subsystem.
Required Associated Types§
sourcetype Description: KeyDescription + ?Sized
type Description: KeyDescription + ?Sized
The type for describing the key.
sourcetype Payload: KeyPayload + ?Sized
type Payload: KeyPayload + ?Sized
The type for representing a payload for the key.