Skip to main content

Capability

Trait Capability 

Source
pub trait Capability {
    const CAPABLE: bool;
}
Expand description

Type-level marker for whether a provider supports a capability.

Required Associated Constants§

Source

const CAPABLE: bool

Whether this marker represents a supported capability.

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§