pub enum BulkheadError {
Timeout,
InvalidConcurrentCalls,
}
Expand description
The error type for operations with Bulkhead
.
Variants§
Timeout
The error returned when the bulkhead semaphore permit could not be acquired before the specified maximum wait duration.
InvalidConcurrentCalls
The error returned when a non-positive maximum number of concurrent calls is specified
Trait Implementations§
Source§impl Debug for BulkheadError
impl Debug for BulkheadError
Source§impl Display for BulkheadError
impl Display for BulkheadError
Source§impl Error for BulkheadError
impl Error for BulkheadError
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()
Auto Trait Implementations§
impl Freeze for BulkheadError
impl RefUnwindSafe for BulkheadError
impl Send for BulkheadError
impl Sync for BulkheadError
impl Unpin for BulkheadError
impl UnwindSafe for BulkheadError
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