Skip to main content

ProfileMarker

Trait ProfileMarker 

Source
pub trait ProfileMarker {
    // Required method
    fn profile() -> Profile;
}
Expand description

A profile at the type level.

Required Methods§

Source

fn profile() -> Profile

The runtime Profile this marker proves.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§