Trait iota_types::message_envelope::Message

source ·
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 Types§

Required Associated Constants§

Required Methods§

source

fn digest(&self) -> Self::DigestType

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§