[][src]Trait exonum::messages::IntoMessage

pub trait IntoMessage: Sized {
    type Container: BinaryValue + From<Self> + TryInto<Self>;
}

Message that can be converted into a unambiguous presentation for signing.

"Unambiguous" above means that any sequence of bytes produced by serializing Container obtained by converting this message can be interpreted in a single way. In other words, messages of different types have separated representation domains.

Associated Types

type Container: BinaryValue + From<Self> + TryInto<Self>

Container for the message.

Loading content...

Implementors

impl IntoMessage for AnyTx[src]

impl IntoMessage for Precommit[src]

Loading content...