pub trait CommandSyntax {
const COMMAND_BUF_SIZE: usize;
// Required method
fn append_command_syntax(&self, buf: &mut String);
// Provided method
fn to_command_string(&self) -> String { ... }
}Required Associated Constants§
const COMMAND_BUF_SIZE: usize
Required Methods§
fn append_command_syntax(&self, buf: &mut String)
Provided Methods§
Sourcefn to_command_string(&self) -> String
fn to_command_string(&self) -> String
Generate a SimpleX command string from self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".