Trait haz_alloc_core::backend::Mutex
source · pub unsafe trait Mutex: 'static + Sync + Send {
type Guard<'a>;
const INIT: Self;
// Required method
fn lock(&self) -> Self::Guard<'_>;
}
Expand description
Safety
The implementation must make sure the functions in the trait behave properly.