pub enum BrokerErrorKind {
ResizeRefused {
side: ResizeSide,
requested: usize,
source: ResizeError,
},
ResizeTimedOut {
side: ResizeSide,
target: usize,
observed: usize,
timeout: Duration,
},
WorkCountersRegressed {
side: ResizeSide,
previous: Work,
observed: Work,
},
ThreadSpawn(Error),
ThreadPanicked,
}Expand description
Why a broker could not start or complete safely.
Variants§
ResizeRefused
ResizeTimedOut
WorkCountersRegressed
An adapter violated Work’s cumulative-counter contract.
ThreadSpawn(Error)
ThreadPanicked
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for BrokerErrorKind
impl !UnwindSafe for BrokerErrorKind
impl Freeze for BrokerErrorKind
impl Send for BrokerErrorKind
impl Sync for BrokerErrorKind
impl Unpin for BrokerErrorKind
impl UnsafeUnpin for BrokerErrorKind
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