pub struct Refusal<R> {
pub connection_id: u64,
pub input_seq: u64,
pub report: R,
}Expand description
A client write refused at ingress, on its way to the response stage.
Fields§
§connection_id: u64Connection the request arrived on.
input_seq: u64Input-ring sequence the request would have taken: every event published before it has a lower one.
report: RThe application’s rejection for the request.
Trait Implementations§
impl<R: Copy> Copy for Refusal<R>
impl<R: Eq> Eq for Refusal<R>
impl<R: PartialEq> StructuralPartialEq for Refusal<R>
Auto Trait Implementations§
impl<R> Freeze for Refusal<R>where
R: Freeze,
impl<R> RefUnwindSafe for Refusal<R>where
R: RefUnwindSafe,
impl<R> Send for Refusal<R>where
R: Send,
impl<R> Sync for Refusal<R>where
R: Sync,
impl<R> Unpin for Refusal<R>where
R: Unpin,
impl<R> UnsafeUnpin for Refusal<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for Refusal<R>where
R: UnwindSafe,
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