StaticString

Trait StaticString 

Source
pub trait StaticString {
    const VALUE: &'static str;
}

Required Associated Constants§

Source

const VALUE: &'static str

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<T> StaticString for T
where T: StaticBytes,

Source§

const VALUE: &'static str