Trait MetadataExt

Source
pub trait MetadataExt {
    // Required method
    fn metadata<M: Metadata>(&self) -> Option<M>;

    // Provided method
    fn memo(&self) -> String { ... }
}

Required Methods§

Source

fn metadata<M: Metadata>(&self) -> Option<M>

Provided Methods§

Source

fn memo(&self) -> String

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§