Trait kernel_guard::BaseGuard
source · pub trait BaseGuard {
type State: Clone + Copy;
// Required methods
fn acquire() -> Self::State;
fn release(state: Self::State);
}
Expand description
A base trait that all guards implement.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.