pub enum FailureEntrySource {
Runtime {
error: RuntimeError,
boundary: DomainDisposition,
},
Value {
error: Value,
disposition: DomainDisposition,
},
}Expand description
Original input to the shared per-operation failure builder.
Variants§
Runtime
A typed runtime failure and the original dispatch boundary’s outcome.
Value
An error payload whose disposition is supplied by its caller.
Auto Trait Implementations§
impl !RefUnwindSafe for FailureEntrySource
impl !UnwindSafe for FailureEntrySource
impl Forget for FailureEntrySource
impl Freeze for FailureEntrySourcewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const RuntimeError is !null: Freeze,
PhantomData<RuntimeError>: Freeze,
&'static str: Freeze,
*const LintFixFailureDetail is !null: Freeze,
PhantomData<LintFixFailureDetail>: Freeze,
*const AuditObligationFailure is !null: Freeze,
PhantomData<AuditObligationFailure>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
*const StorageError is !null: Freeze,
PhantomData<StorageError>: Freeze,
String: Freeze,
*const SecretMatch is !null: Freeze,
PhantomData<SecretMatch>: Freeze,
*const dyn Error + Sync + Send is !null: Freeze,
PhantomData<dyn Error + Sync + Send>: Freeze,
PhantomData<MissingPackDependency>: Freeze,
PhantomData<String>: Freeze,
*const ReceiptRefusal is !null: Freeze,
PhantomData<ReceiptRefusal>: Freeze,
PhantomData<RefusalEventRecording>: Freeze,
*const BatchWriteContext is !null: Freeze,
PhantomData<BatchWriteContext>: Freeze,
PhantomData<Uuid>: Freeze,
*const DenialReceipt is !null: Freeze,
PhantomData<DenialReceipt>: Freeze,
PhantomData<(Cow<'static, str>, Cow<'static, str>)>: Freeze,
impl Move for FailureEntrySource
impl Send for FailureEntrySourcewhere
RawVecInner: Send,
BoxRaw<RuntimeError>: Send,
&'static str: Send,
BoxRaw<LintFixFailureDetail>: Send,
BoxRaw<AuditObligationFailure>: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
BoxRaw<StorageError>: Send,
String: Send,
BoxRaw<SecretMatch>: Send,
BoxRaw<dyn Error + Sync + Send>: Send,
BoxRaw<ReceiptRefusal>: Send,
BoxRaw<BatchWriteContext>: Send,
BoxRaw<DenialReceipt>: Send,
impl Sync for FailureEntrySourcewhere
RawVecInner: Sync,
BoxRaw<RuntimeError>: Sync,
BoxRaw<LintFixFailureDetail>: Sync,
BoxRaw<AuditObligationFailure>: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
BoxRaw<StorageError>: Sync,
String: Sync,
BoxRaw<SecretMatch>: Sync,
BoxRaw<dyn Error + Sync + Send>: Sync,
BoxRaw<ReceiptRefusal>: Sync,
BoxRaw<BatchWriteContext>: Sync,
BoxRaw<DenialReceipt>: Sync,
impl Unpin for FailureEntrySourcewhere
*const u8 is !null: Unpin,
Box<RuntimeError>: Unpin,
&'static str: Unpin,
Box<LintFixFailureDetail>: Unpin,
Box<AuditObligationFailure>: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
Box<StorageError>: Unpin,
String: Unpin,
Box<SecretMatch>: Unpin,
Box<dyn Error + Sync + Send>: Unpin,
Box<ReceiptRefusal>: Unpin,
Box<BatchWriteContext>: Unpin,
Box<DenialReceipt>: Unpin,
impl UnsafeUnpin for FailureEntrySourcewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const RuntimeError is !null: UnsafeUnpin,
PhantomData<RuntimeError>: UnsafeUnpin,
&'static str: UnsafeUnpin,
*const LintFixFailureDetail is !null: UnsafeUnpin,
PhantomData<LintFixFailureDetail>: UnsafeUnpin,
*const AuditObligationFailure is !null: UnsafeUnpin,
PhantomData<AuditObligationFailure>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
*const StorageError is !null: UnsafeUnpin,
PhantomData<StorageError>: UnsafeUnpin,
String: UnsafeUnpin,
*const SecretMatch is !null: UnsafeUnpin,
PhantomData<SecretMatch>: UnsafeUnpin,
*const dyn Error + Sync + Send is !null: UnsafeUnpin,
PhantomData<dyn Error + Sync + Send>: UnsafeUnpin,
PhantomData<MissingPackDependency>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const ReceiptRefusal is !null: UnsafeUnpin,
PhantomData<ReceiptRefusal>: UnsafeUnpin,
PhantomData<RefusalEventRecording>: UnsafeUnpin,
*const BatchWriteContext is !null: UnsafeUnpin,
PhantomData<BatchWriteContext>: UnsafeUnpin,
PhantomData<Uuid>: UnsafeUnpin,
*const DenialReceipt is !null: UnsafeUnpin,
PhantomData<DenialReceipt>: UnsafeUnpin,
PhantomData<(Cow<'static, str>, Cow<'static, str>)>: UnsafeUnpin,
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> 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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more