#[non_exhaustive]pub enum HandlersVerificationError {
Missing {
missing: Vec<MissingHandler>,
},
}Expand description
Errors raised by MediatorBuilder::verify_handlers.
Marked #[non_exhaustive] so that new variants can be added in minor
versions without breaking downstream match arms.
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.
Missing
One or more handlers declared via the #[handler] macro were not
registered through the fluent builder.
Fields
§
missing: Vec<MissingHandler>List of missing handlers, in inventory iteration order.
Trait Implementations§
Source§impl Debug for HandlersVerificationError
impl Debug for HandlersVerificationError
Source§impl Display for HandlersVerificationError
impl Display for HandlersVerificationError
Source§impl Error for HandlersVerificationError
impl Error for HandlersVerificationError
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 HandlersVerificationError
impl RefUnwindSafe for HandlersVerificationError
impl Send for HandlersVerificationError
impl Sync for HandlersVerificationError
impl Unpin for HandlersVerificationError
impl UnsafeUnpin for HandlersVerificationError
impl UnwindSafe for HandlersVerificationError
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