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.