Enum PluginEventResolution
pub enum PluginEventResolution {
Authorized(ResolvedPluginEventRoute),
Unknown,
Denied,
}Expand description
Result of resolving the current canonical route and sender authorization.
Unknown and Denied are separate fail-closed outcomes so the host can
observe whether a binding disappeared or a sender was rejected without
exposing either detail to plugin code.
Variants§
Authorized(ResolvedPluginEventRoute)
The current canonical state authorizes this exact resolved route.
Unknown
No active route owns this instance.
Denied
The current authorization policy rejects this event.
Trait Implementations§
Source§impl Clone for PluginEventResolution
impl Clone for PluginEventResolution
Source§fn clone(&self) -> PluginEventResolution
fn clone(&self) -> PluginEventResolution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PluginEventResolution
impl Debug for PluginEventResolution
impl Eq for PluginEventResolution
Source§impl PartialEq for PluginEventResolution
impl PartialEq for PluginEventResolution
impl StructuralPartialEq for PluginEventResolution
Auto Trait Implementations§
impl Freeze for PluginEventResolution
impl RefUnwindSafe for PluginEventResolution
impl Send for PluginEventResolution
impl Sync for PluginEventResolution
impl Unpin for PluginEventResolution
impl UnsafeUnpin for PluginEventResolution
impl UnwindSafe for PluginEventResolution
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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.