Enum dds_bridge::solver::Error
source · pub enum Error {
System(SystemError),
Lock(PoisonError<MutexGuard<'static, ()>>),
}Expand description
The sum type of all solver errors
Variants§
System(SystemError)
An error propagated from dds_bridge_sys
Lock(PoisonError<MutexGuard<'static, ()>>)
A poisoned mutex of the thread pool
Trait Implementations§
source§impl From<PoisonError<MutexGuard<'static, ()>>> for Error
impl From<PoisonError<MutexGuard<'static, ()>>> for Error
source§fn from(err: PoisonError<MutexGuard<'static, ()>>) -> Self
fn from(err: PoisonError<MutexGuard<'static, ()>>) -> Self
Converts to this type from the input type.
source§impl From<SystemError> for Error
impl From<SystemError> for Error
source§fn from(err: SystemError) -> Self
fn from(err: SystemError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl !Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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