Enum deadpool::managed::BuildError
source · pub enum BuildError<E> {
Backend(E),
NoRuntimeSpecified(String),
}
Expand description
Possible errors returned when PoolBuilder::build()
fails to build a
Pool
.
Variants§
Backend(E)
Backend reported an error when creating a Pool
.
NoRuntimeSpecified(String)
Runtime
is required.
Trait Implementations§
source§impl<E: Debug> Debug for BuildError<E>
impl<E: Debug> Debug for BuildError<E>
source§impl<E: Display> Display for BuildError<E>
impl<E: Display> Display for BuildError<E>
source§impl<E: Error + 'static> Error for BuildError<E>
impl<E: Error + 'static> Error for BuildError<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> Freeze for BuildError<E>where
E: Freeze,
impl<E> RefUnwindSafe for BuildError<E>where
E: RefUnwindSafe,
impl<E> Send for BuildError<E>where
E: Send,
impl<E> Sync for BuildError<E>where
E: Sync,
impl<E> Unpin for BuildError<E>where
E: Unpin,
impl<E> UnwindSafe for BuildError<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