Enum deadpool::managed::sync::InteractError
source · pub enum InteractError<E> {
Panic(Box<dyn Any + Send + 'static>),
Aborted,
Backend(E),
}
👎Deprecated since 0.9.1: This module has been deprecated in favor of the dedicated
deadpool-sync
utility crate.Expand description
Possible errors returned when SyncWrapper::interact()
fails.
Variants§
Panic(Box<dyn Any + Send + 'static>)
👎Deprecated since 0.9.1: This module has been deprecated in favor of the dedicated
deadpool-sync
utility crate.Provided callback has panicked.
Aborted
👎Deprecated since 0.9.1: This module has been deprecated in favor of the dedicated
deadpool-sync
utility crate.Callback was aborted.
Backend(E)
👎Deprecated since 0.9.1: This module has been deprecated in favor of the dedicated
deadpool-sync
utility crate.Backend returned an error.
Trait Implementations§
source§impl<E: Debug> Debug for InteractError<E>
impl<E: Debug> Debug for InteractError<E>
source§impl<E: Display> Display for InteractError<E>
impl<E: Display> Display for InteractError<E>
source§impl<E: Error + 'static> Error for InteractError<E>
impl<E: Error + 'static> Error for InteractError<E>
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl<E> !RefUnwindSafe for InteractError<E>
impl<E> Send for InteractError<E>where E: Send,
impl<E> !Sync for InteractError<E>
impl<E> Unpin for InteractError<E>where E: Unpin,
impl<E> !UnwindSafe for InteractError<E>
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