pub enum OptionsError {
ZeroMaxLive,
ZeroMaxConcurrency,
FleetConcurrencyDisabled,
CapacityOrder {
min_idle: usize,
max_idle: usize,
max_live: usize,
},
ZeroAttempts,
ZeroDuration(&'static str),
}Expand description
Invalid client-pool options.
Variants§
ZeroMaxLive
ZeroMaxConcurrency
FleetConcurrencyDisabled
CapacityOrder
ZeroAttempts
ZeroDuration(&'static str)
Trait Implementations§
Source§impl Debug for OptionsError
impl Debug for OptionsError
Source§impl Display for OptionsError
impl Display for OptionsError
impl Eq for OptionsError
Source§impl Error for OptionsError
impl Error for OptionsError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl PartialEq for OptionsError
impl PartialEq for OptionsError
impl StructuralPartialEq for OptionsError
Auto Trait Implementations§
impl Freeze for OptionsError
impl RefUnwindSafe for OptionsError
impl Send for OptionsError
impl Sync for OptionsError
impl Unpin for OptionsError
impl UnsafeUnpin for OptionsError
impl UnwindSafe for OptionsError
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