Trait Messageable

Source
pub trait Messageable {
    // Required methods
    fn error_message(&self) -> Message;
    fn warning_message(&self) -> Message;
    fn info_message(&self) -> Message;
    fn command_message(&self) -> Message;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl Messageable for &str

Source§

impl Messageable for String

Implementors§