#[non_exhaustive]pub enum DynamicBrokerSelectorError {
FailedSendRefreshEvent(SendError<()>),
FailedReceiveRefreshEvent(RecvError),
PoisonedConcurrentAllBrokerListRead,
PoisonedConcurrentAllBrokerListWrite,
PoisonedConcurrentTableBrokerMapRead,
PoisonedConcurrentTableBrokerMapWrite,
}
Expand description
Dynamic broker error.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
FailedSendRefreshEvent(SendError<()>)
Failed send refresh event
FailedReceiveRefreshEvent(RecvError)
Failed receive refresh event
PoisonedConcurrentAllBrokerListRead
Poisoned concurrent read of all broker list.
PoisonedConcurrentAllBrokerListWrite
Poisoned concurrent write of all broker list.
PoisonedConcurrentTableBrokerMapRead
Poisoned concurrent read of table broker map.
PoisonedConcurrentTableBrokerMapWrite
Poisoned concurrent write of table broker map.
Trait Implementations§
Source§impl Debug for DynamicBrokerSelectorError
impl Debug for DynamicBrokerSelectorError
Source§impl Display for DynamicBrokerSelectorError
impl Display for DynamicBrokerSelectorError
Source§impl Error for DynamicBrokerSelectorError
impl Error for DynamicBrokerSelectorError
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 From<DynamicBrokerSelectorError> for Error
impl From<DynamicBrokerSelectorError> for Error
Source§fn from(source: DynamicBrokerSelectorError) -> Self
fn from(source: DynamicBrokerSelectorError) -> Self
Converts to this type from the input type.
Source§impl From<RecvError> for DynamicBrokerSelectorError
impl From<RecvError> for DynamicBrokerSelectorError
Auto Trait Implementations§
impl Freeze for DynamicBrokerSelectorError
impl RefUnwindSafe for DynamicBrokerSelectorError
impl Send for DynamicBrokerSelectorError
impl Sync for DynamicBrokerSelectorError
impl Unpin for DynamicBrokerSelectorError
impl UnwindSafe for DynamicBrokerSelectorError
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