Trait Nameable

Source
pub trait Nameable {
    const NAME_SUFFIX: &'static [u8];
}
Expand description

A trait that can be implemented for marker structs to indicate that the command is ready to be named.

Required Associated Constants§

Source

const NAME_SUFFIX: &'static [u8]

The data that must be put after a name to comply with the type of command that is named.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Nameable for Execute

Source§

const NAME_SUFFIX: &'static [u8] = b""

Source§

impl Nameable for Query

Source§

const NAME_SUFFIX: &'static [u8] = b"?"

Source§

impl Nameable for Set

Source§

const NAME_SUFFIX: &'static [u8] = b"="

Source§

impl Nameable for Test

Source§

const NAME_SUFFIX: &'static [u8] = b"=?"