Skip to main content

Resource

Trait Resource 

Source
pub trait Resource:
    Copy
    + Debug
    + Eq
    + 'static {
    const OPERATION: &'static str;
}
Expand description

One kind of resource governed by a finite ceiling.

Required Associated Constants§

Source

const OPERATION: &'static str

The operation whose work this resource describes.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<const PROFILE: u8> Resource for ResourceKind<PROFILE>

Source§

const OPERATION: &'static str