Trait Message
pub trait Message {
type DigestType: Clone + Debug;
const SCOPE: IntentScope;
// Required method
fn digest(&self) -> Self::DigestType;
// Provided method
fn scope(&self) -> IntentScope { ... }
}
Required Associated Constants§
const SCOPE: IntentScope
Required Associated Types§
type DigestType: Clone + Debug
Required Methods§
fn digest(&self) -> Self::DigestType
Provided Methods§
fn scope(&self) -> IntentScope
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.