Searched refs:GuardState (Results 1 – 3 of 3) sorted by relevance
39 type GuardState; typedef59 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState; in lock() argument66 unsafe fn unlock(ptr: *mut Self::State, guard_state: &Self::GuardState); in unlock() argument74 unsafe fn relock(ptr: *mut Self::State, guard_state: &mut Self::GuardState) { in relock() argument141 pub(crate) state: B::GuardState,190 pub(crate) unsafe fn new(lock: &'a Lock<T, B>, state: B::GuardState) -> Self { in new()
95 type GuardState = (); typedef107 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState { in lock() argument113 unsafe fn unlock(ptr: *mut Self::State, _guard_state: &Self::GuardState) { in unlock() argument
94 type GuardState = (); typedef106 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState { in lock() argument112 unsafe fn unlock(ptr: *mut Self::State, _guard_state: &Self::GuardState) { in unlock() argument
Completed in 7 milliseconds