pub trait AppKey:
'static
+ Send
+ Sync
+ Sized
+ CryptoType
+ Clone {
type UntypedGeneric: IsWrappedBy<Self>;
type Public: AppPublic;
type Pair: AppPair;
type Signature: AppSignature;
const ID: KeyTypeId;
const CRYPTO_ID: CryptoTypeId;
}
Expand description
An application-specific key.
Required Associated Constants§
Sourceconst CRYPTO_ID: CryptoTypeId
const CRYPTO_ID: CryptoTypeId
The identifier of the crypto type of this application-specific key type.
Required Associated Types§
Sourcetype UntypedGeneric: IsWrappedBy<Self>
type UntypedGeneric: IsWrappedBy<Self>
The corresponding type as a generic crypto type.
Sourcetype Signature: AppSignature
type Signature: AppSignature
The corresponding signature type in this application scheme.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.