Specification

Trait Specification 

Source
pub trait Specification:
    Send
    + Sync
    + Debug
    + Clone
    + 'static {
    // Required methods
    fn uri() -> &'static UriStr;
    fn title() -> &'static str;
}
Expand description

A trait for defining a specification type.

Required Methods§

Source

fn uri() -> &'static UriStr

Get uri of specification.

Source

fn title() -> &'static str

Get title of specification.

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§