#[non_exhaustive]pub enum BrokerConfigError {
NoUrl,
WantedWithUrl,
}Available on crate feature
alloc only.Expand description
A broker configuration a search cannot run with.
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.
Trait Implementations§
Source§impl Clone for BrokerConfigError
impl Clone for BrokerConfigError
impl Copy for BrokerConfigError
Source§impl Debug for BrokerConfigError
impl Debug for BrokerConfigError
Source§impl Display for BrokerConfigError
impl Display for BrokerConfigError
impl Eq for BrokerConfigError
Source§impl Error for BrokerConfigError
impl Error for BrokerConfigError
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 Hash for BrokerConfigError
impl Hash for BrokerConfigError
Source§impl PartialEq for BrokerConfigError
impl PartialEq for BrokerConfigError
impl StructuralPartialEq for BrokerConfigError
Auto Trait Implementations§
impl Freeze for BrokerConfigError
impl RefUnwindSafe for BrokerConfigError
impl Send for BrokerConfigError
impl Sync for BrokerConfigError
impl Unpin for BrokerConfigError
impl UnsafeUnpin for BrokerConfigError
impl UnwindSafe for BrokerConfigError
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