pub enum JError {
IncorrectRegionOrdering,
UnequalRegions,
PoisonedMutex,
MutexNotPrelocked,
}Expand description
The JThread Error type
Variants§
IncorrectRegionOrdering
Indicates an invalid ordering of regions, which can lead to deadlocks.
UnequalRegions
Used when attempted operations span across different regions.
PoisonedMutex
Occurs when a mutex guard panics, poisoning the mutex.
MutexNotPrelocked
Raised when a mutex is expected to be pre-locked but isn’t.
Trait Implementations§
impl StructuralPartialEq for JError
Auto Trait Implementations§
impl Freeze for JError
impl RefUnwindSafe for JError
impl Send for JError
impl Sync for JError
impl Unpin for JError
impl UnwindSafe for JError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more