Trait TypeStr

Source
pub trait TypeStr {
    const VALUE: StaticStr;
}
Expand description

Represents type-level strings.

Required Associated Constants§

Source

const VALUE: StaticStr

The string value.

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 TypeStr for NoContext

Source§

const VALUE: StaticStr = "no context"