Trait ruci::MessagePointer

source ·
pub trait MessagePointer: Copy + FromStr + Debug + Hash + Eq + PartialEq {
    // Required methods
    fn as_string(self) -> &'static str;
    fn has_parameters(self) -> bool;
}
Expand description

This is a simple Copy “pointer” enum necessary for parsing.

Required Methods§

source

fn as_string(self) -> &'static str

source

fn has_parameters(self) -> bool

Whether or not this message has parameters. For example, uciok does not.

Object Safety§

This trait is not object safe.

Implementors§