pub enum Class {
Runtime,
Harness,
Build,
Dev,
Tool,
}Expand description
2026-09-26: Who reads a lever. levers_tests checks each lever’s reader against its class.
Variants§
Runtime
2026-09-26: Read by a met process at run time (serve or bench). A recipe may declare
it in env:.
Harness
2026-09-26: Places, logs or builds for the harness. A recipe may not declare it.
Build
2026-09-26: Read when the binary is built (a build script or option_env!).
Dev
2026-09-26: Read only by a test or a dev example/benchmark.
Tool
2026-09-26: Read only by an operator script or the site build, outside crates/.
Implementations§
Trait Implementations§
impl Copy for Class
impl Eq for Class
impl StructuralPartialEq for Class
Auto Trait Implementations§
impl Freeze for Class
impl RefUnwindSafe for Class
impl Send for Class
impl Sync for Class
impl Unpin for Class
impl UnwindSafe for Class
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.