Enum deadpool::managed::HookErrorCause
source · pub enum HookErrorCause<E> {
Message(String),
StaticMessage(&'static str),
Backend(E),
}
Expand description
Possible errors returned by hooks
Variants§
Message(String)
Hook failed for some other reason.
StaticMessage(&'static str)
Hook failed for some other reason.
Backend(E)
Error caused by the backend.
Trait Implementations§
Auto Trait Implementations§
impl<E> RefUnwindSafe for HookErrorCause<E>where E: RefUnwindSafe,
impl<E> Send for HookErrorCause<E>where E: Send,
impl<E> Sync for HookErrorCause<E>where E: Sync,
impl<E> Unpin for HookErrorCause<E>where E: Unpin,
impl<E> UnwindSafe for HookErrorCause<E>where E: UnwindSafe,
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