pub struct InterceptResult {
pub disposition: Disposition,
pub interceptor_name: &'static str,
}Expand description
Result of running an interceptor pipeline. Pairs the final Disposition
with the name of the interceptor that produced it (empty for Continue).
Used by runtimes to log/route dropped messages to the dead letter handler with the interceptor’s identity.
Fields§
§disposition: DispositionThe final disposition decision.
interceptor_name: &'static strName of the interceptor that produced a non-Continue disposition. Empty string if all interceptors returned Continue.
Implementations§
Source§impl InterceptResult
impl InterceptResult
Sourcepub fn is_continue(&self) -> bool
pub fn is_continue(&self) -> bool
Whether the disposition is Continue.
Auto Trait Implementations§
impl Freeze for InterceptResult
impl RefUnwindSafe for InterceptResult
impl Send for InterceptResult
impl Sync for InterceptResult
impl Unpin for InterceptResult
impl UnsafeUnpin for InterceptResult
impl UnwindSafe for InterceptResult
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