pub struct PluginValidationError {
pub plugin: &'static str,
pub service: &'static str,
pub event: &'static str,
pub component: Option<&'static str>,
}Expand description
Boot-time plugin validation error.
The runtime records which plugin installed each hook. Before mounting the app it verifies that every hook’s required service has also been provided, so misconfigured plugin ordering fails at boot with a concrete diagnostic instead of failing later on the first matching event.
Fields§
§plugin: &'static str§service: &'static str§event: &'static str§component: Option<&'static str>Trait Implementations§
Source§impl Clone for PluginValidationError
impl Clone for PluginValidationError
Source§fn clone(&self) -> PluginValidationError
fn clone(&self) -> PluginValidationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PluginValidationError
impl Debug for PluginValidationError
Source§impl Display for PluginValidationError
impl Display for PluginValidationError
impl Eq for PluginValidationError
Source§impl PartialEq for PluginValidationError
impl PartialEq for PluginValidationError
Source§fn eq(&self, other: &PluginValidationError) -> bool
fn eq(&self, other: &PluginValidationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PluginValidationError
Auto Trait Implementations§
impl Freeze for PluginValidationError
impl RefUnwindSafe for PluginValidationError
impl Send for PluginValidationError
impl Sync for PluginValidationError
impl Unpin for PluginValidationError
impl UnsafeUnpin for PluginValidationError
impl UnwindSafe for PluginValidationError
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