pub enum ErrorKind {
Spawn(SpawnError),
PoolFull,
}Expand description
Types of errors that can occur when requesting.
A SpawnError can occur when requesting a Transaction as a new thread may need
spawned if a previous one was lost / invalidated.
Variants§
Spawn(SpawnError)
An error occurred when spawning and configuring a new thread for a hyper::Client
PoolFull
There is no room for another transaction right now, the pool is full.
Trait Implementations§
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl !RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl !UnwindSafe for ErrorKind
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