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§
fn as_string(self) -> &'static str
sourcefn has_parameters(self) -> bool
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.