pub enum RawJsonRpcDisposition {
CorrelatedError(JsonRpcResponse),
UncorrelatedError(UncorrelatedJsonRpcErrorResponse),
ClientOwningFailure,
ClientSharedChannelFailure,
NoAction,
}Expand description
Role-aware disposition of a raw malformed JSON-RPC document.
Variants§
Server ingress can emit an error correlated to the one readable ID.
Server ingress can emit an explicitly uncorrelated parse/invalid error.
ClientOwningFailure
Client ingress emits no JSON-RPC response and fails only its owning exchange.
Client ingress emits no JSON-RPC response and reports a shared-channel failure.
NoAction
The direction is not an ingress path for this endpoint and emits nothing.
Trait Implementations§
Source§impl Clone for RawJsonRpcDisposition
impl Clone for RawJsonRpcDisposition
Source§fn clone(&self) -> RawJsonRpcDisposition
fn clone(&self) -> RawJsonRpcDisposition
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 RawJsonRpcDisposition
impl Debug for RawJsonRpcDisposition
Source§impl PartialEq for RawJsonRpcDisposition
impl PartialEq for RawJsonRpcDisposition
impl StructuralPartialEq for RawJsonRpcDisposition
Auto Trait Implementations§
impl Freeze for RawJsonRpcDisposition
impl RefUnwindSafe for RawJsonRpcDisposition
impl Send for RawJsonRpcDisposition
impl Sync for RawJsonRpcDisposition
impl Unpin for RawJsonRpcDisposition
impl UnsafeUnpin for RawJsonRpcDisposition
impl UnwindSafe for RawJsonRpcDisposition
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).