Searched defs:GuardState (Results 1 – 3 of 3) sorted by relevance
95 type GuardState = (); typedef107 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState { in lock()113 unsafe fn unlock(ptr: *mut Self::State, _guard_state: &Self::GuardState) { in unlock()
94 type GuardState = (); typedef106 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState { in lock()112 unsafe fn unlock(ptr: *mut Self::State, _guard_state: &Self::GuardState) { in unlock()
39 type GuardState; typedef59 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState; in lock()66 unsafe fn unlock(ptr: *mut Self::State, guard_state: &Self::GuardState); in unlock()74 unsafe fn relock(ptr: *mut Self::State, guard_state: &mut Self::GuardState) { in relock()
Completed in 11 milliseconds