Enum PluginEventError
pub enum PluginEventError {
CapabilityMismatch,
RouteMismatch,
UnknownRoute,
AccessDenied,
InvalidRoute(String),
DispatchFailed(String),
}Expand description
Fail-closed outcomes from the plugin event-routing boundary.
Variants§
CapabilityMismatch
The submitted instance is not allowed to emit channel events.
RouteMismatch
The normalized event or resolved route belongs to another endpoint.
UnknownRoute
No active route owns the submitted plugin instance.
AccessDenied
Live host authorization rejected the submitted event.
InvalidRoute(String)
Canonical route state could not be materialized safely.
DispatchFailed(String)
The shared agent/SOP boundary could not accept the event.
Trait Implementations§
Source§impl Debug for PluginEventError
impl Debug for PluginEventError
Source§impl Display for PluginEventError
impl Display for PluginEventError
impl Eq for PluginEventError
Source§impl Error for PluginEventError
impl Error for PluginEventError
1.30.0 · §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 · §fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for PluginEventError
impl PartialEq for PluginEventError
impl StructuralPartialEq for PluginEventError
Auto Trait Implementations§
impl Freeze for PluginEventError
impl RefUnwindSafe for PluginEventError
impl Send for PluginEventError
impl Sync for PluginEventError
impl Unpin for PluginEventError
impl UnsafeUnpin for PluginEventError
impl UnwindSafe for PluginEventError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.