CapabilityBound

Trait CapabilityBound 

Source
pub trait CapabilityBound:
    Into<Capability>
    + TryFrom<Capability>
    + Send
    + Sync
    + 'static {
    // Required method
    fn debug_typename() -> &'static str;
}
Expand description

Parent trait implemented by all capability types. Useful for defining interfaces that generic over a capability type.

Required Methods§

Source

fn debug_typename() -> &'static str

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§