pub enum ActionDispatchError {
CheckerBinding {
checker: ComponentId,
action: ComponentId,
},
ConversationBinding {
attached: ConversationId,
derived: ConversationId,
},
Check(CapabilityCheckError),
Call(CallError),
}Expand description
Typed refusal or failure BEFORE any consuming act or dispatch happened.
Variants§
CheckerBinding
The checker’s component identity does not match the action key — a binding refusal, NOT a capability denial: no requirement was checked and no denial event exists (F-6a R3).
Fields
checker: ComponentIdIdentity the checker evaluates.
action: ComponentIdIdentity the action key names.
ConversationBinding
The handle is attached to a different conversation than the one this
action’s (key, incarnation) derives — dispatching there could reach
a different action’s responder; refused typed, no denial event.
Fields
attached: ConversationIdThe handle’s enrolled conversation.
derived: ConversationIdThe conversation derived from the action row.
Check(CapabilityCheckError)
The shared checker’s synchronization failed; no verdict exists.
Call(CallError)
The S1 call’s admission or connection leg failed typed (distinct from
every conversation outcome, which arrives as
ActionDispatchOutcome::Completed).
Trait Implementations§
Source§impl Debug for ActionDispatchError
impl Debug for ActionDispatchError
Source§impl Display for ActionDispatchError
impl Display for ActionDispatchError
Source§impl Error for ActionDispatchError
impl Error for ActionDispatchError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<CallError> for ActionDispatchError
impl From<CallError> for ActionDispatchError
Source§impl From<CapabilityCheckError> for ActionDispatchError
impl From<CapabilityCheckError> for ActionDispatchError
Source§fn from(source: CapabilityCheckError) -> Self
fn from(source: CapabilityCheckError) -> Self
Auto Trait Implementations§
impl Freeze for ActionDispatchError
impl RefUnwindSafe for ActionDispatchError
impl Send for ActionDispatchError
impl Sync for ActionDispatchError
impl Unpin for ActionDispatchError
impl UnsafeUnpin for ActionDispatchError
impl UnwindSafe for ActionDispatchError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request