pub struct FirqHttpRejection {
pub status: u16,
pub code: &'static str,
pub message: &'static str,
pub reason: EnqueueRejectReason,
}Expand description
Structured HTTP rejection payload produced by the layer.
Fields§
§status: u16HTTP status code.
code: &'static strStable machine-readable error code.
message: &'static strHuman-readable error message.
reason: EnqueueRejectReasonUnderlying scheduling rejection reason.
Trait Implementations§
Source§impl Clone for FirqHttpRejection
impl Clone for FirqHttpRejection
Source§fn clone(&self) -> FirqHttpRejection
fn clone(&self) -> FirqHttpRejection
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 moreAuto Trait Implementations§
impl Freeze for FirqHttpRejection
impl RefUnwindSafe for FirqHttpRejection
impl Send for FirqHttpRejection
impl Sync for FirqHttpRejection
impl Unpin for FirqHttpRejection
impl UnwindSafe for FirqHttpRejection
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