pub struct RequestContext {
pub url: String,
pub operation: Option<Operation>,
pub ingress: Option<RawMessageId>,
pub may_have_executed: bool,
pub status: Option<StatusCode>,
}Expand description
Evidence about a failed HTTP exchange, not permission to retry it.
Fields§
§url: String§operation: Option<Operation>§ingress: Option<RawMessageId>An ingress message already accepted before this failure.
may_have_executed: boolThe request may have reached the server. A transport failure is not rejection.
status: Option<StatusCode>Trait Implementations§
Source§impl Clone for RequestContext
impl Clone for RequestContext
Auto Trait Implementations§
impl Freeze for RequestContext
impl RefUnwindSafe for RequestContext
impl Send for RequestContext
impl Sync for RequestContext
impl Unpin for RequestContext
impl UnsafeUnpin for RequestContext
impl UnwindSafe for RequestContext
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