#[non_exhaustive]pub enum SimpleBrokerSelectorError {
EmptyBrokerList,
}
Expand description
Simple 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.
EmptyBrokerList
Poisoned all broker list read.
Trait Implementations§
Source§impl Clone for SimpleBrokerSelectorError
impl Clone for SimpleBrokerSelectorError
Source§fn clone(&self) -> SimpleBrokerSelectorError
fn clone(&self) -> SimpleBrokerSelectorError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SimpleBrokerSelectorError
impl Debug for SimpleBrokerSelectorError
Source§impl Display for SimpleBrokerSelectorError
impl Display for SimpleBrokerSelectorError
Source§impl Error for SimpleBrokerSelectorError
impl Error for SimpleBrokerSelectorError
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 From<SimpleBrokerSelectorError> for Error
impl From<SimpleBrokerSelectorError> for Error
Source§fn from(source: SimpleBrokerSelectorError) -> Self
fn from(source: SimpleBrokerSelectorError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SimpleBrokerSelectorError
impl RefUnwindSafe for SimpleBrokerSelectorError
impl Send for SimpleBrokerSelectorError
impl Sync for SimpleBrokerSelectorError
impl Unpin for SimpleBrokerSelectorError
impl UnwindSafe for SimpleBrokerSelectorError
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