Trait ibc::tx_msg::Msg

source ·
pub trait Msg: Clone {
    type ValidationError;
    type Raw: From<Self> + Message;

    fn route(&self) -> String;
    fn type_url(&self) -> String;

    fn to_any(self) -> Any { ... }
    fn get_sign_bytes(self) -> Vec<u8>  { ... }
    fn validate_basic(&self) -> Result<(), ValidationError> { ... }
}

Required Associated Types

Required Methods

Unique type identifier for this message, to support encoding to/from prost_types::Any.

Provided Methods

Implementors