pub enum BounceReason {
ComputePhaseSkipped(ComputePhaseSkipReason),
ComputePhaseFailed {
exit_code: i32,
},
ActionPhaseFailed {
result_code: i32,
},
}Expand description
Structured bounce reason derived from NewBounceBody.
Variants§
ComputePhaseSkipped(ComputePhaseSkipReason)
Compute phase was skipped.
ComputePhaseFailed
Compute phase failed.
ActionPhaseFailed
Action phase failed.
Implementations§
Source§impl BounceReason
impl BounceReason
Sourcepub const fn flatten(&self) -> (u8, i32)
pub const fn flatten(&self) -> (u8, i32)
Flattens the struct into a tuple of NewBounceBody::bounced_by_phase
and NewBounceBody::exit_code.
Trait Implementations§
Source§impl Clone for BounceReason
impl Clone for BounceReason
Source§fn clone(&self) -> BounceReason
fn clone(&self) -> BounceReason
Returns a duplicate of the value. Read more
1.0.0 · 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 BounceReason
impl Debug for BounceReason
Source§impl PartialEq for BounceReason
impl PartialEq for BounceReason
impl Copy for BounceReason
impl Eq for BounceReason
impl StructuralPartialEq for BounceReason
Auto Trait Implementations§
impl Freeze for BounceReason
impl RefUnwindSafe for BounceReason
impl Send for BounceReason
impl Sync for BounceReason
impl Unpin for BounceReason
impl UnwindSafe for BounceReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.