pub enum CheckOutcome {
Command(Outcome),
Query(QueryOutcome),
}Expand description
What came of the request a middleware after it checks: an Outcome for a command, a
QueryOutcome for a query.
Variants§
Trait Implementations§
Source§impl Clone for CheckOutcome
impl Clone for CheckOutcome
Source§impl Debug for CheckOutcome
impl Debug for CheckOutcome
Source§impl PartialEq for CheckOutcome
impl PartialEq for CheckOutcome
impl StructuralPartialEq for CheckOutcome
Auto Trait Implementations§
impl Forget for CheckOutcome
impl Freeze for CheckOutcomewhere
*const u8 is !null: Freeze,
PhantomData<StoredEvent>: Freeze,
PhantomData<u8>: Freeze,
*const Requirement is !null: Freeze,
PhantomData<Requirement>: Freeze,
PhantomData<Value>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
impl Move for CheckOutcome
impl RefUnwindSafe for CheckOutcome
impl Send for CheckOutcome
impl Sync for CheckOutcome
impl Unpin for CheckOutcome
impl UnsafeUnpin for CheckOutcomewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<StoredEvent>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const Requirement is !null: UnsafeUnpin,
PhantomData<Requirement>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
impl UnwindSafe for CheckOutcomewhere
RawVecInner: UnwindSafe,
NonNull<u8>: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BoxRaw<Requirement>: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request