Enum r3::sync::recursive_mutex::MarkConsistentError
source · #[repr(i8)]
pub enum MarkConsistentError {
BadContext,
Consistent,
}
Available on crate feature
sync
only.Expand description
Error type of GenericRecursiveMutex::mark_consistent
.
Variants
BadContext
CPU Lock is active.
Consistent
The mutex does not protect an inconsistent state.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MarkConsistentError
impl Send for MarkConsistentError
impl Sync for MarkConsistentError
impl Unpin for MarkConsistentError
impl UnwindSafe for MarkConsistentError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more