Trait cargo::util::machine_message::Message

source ·
pub trait Message: Serialize {
    // Required method
    fn reason(&self) -> &str;

    // Provided method
    fn to_json_string(&self) -> String { ... }
}

Required Methods§

source

fn reason(&self) -> &str

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§