pub enum RouteOutcome {
Evaluated,
EvaluatedUnknown,
Dropped,
Errored,
}Expand description
What the router did with an event, for reporting and on_unknown handling.
Variants§
Evaluated
Evaluated against a bound or known schema’s set.
EvaluatedUnknown
Evaluated against the default set because the schema was unrecognized
(on_unknown: warn or passthrough).
Dropped
Dropped without evaluating (on_unknown: drop).
Errored
Dropped and flagged as an error (on_unknown: error).
Trait Implementations§
Source§impl Clone for RouteOutcome
impl Clone for RouteOutcome
Source§fn clone(&self) -> RouteOutcome
fn clone(&self) -> RouteOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RouteOutcome
impl Debug for RouteOutcome
impl Eq for RouteOutcome
Source§impl PartialEq for RouteOutcome
impl PartialEq for RouteOutcome
Source§fn eq(&self, other: &RouteOutcome) -> bool
fn eq(&self, other: &RouteOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RouteOutcome
Auto Trait Implementations§
impl Freeze for RouteOutcome
impl RefUnwindSafe for RouteOutcome
impl Send for RouteOutcome
impl Sync for RouteOutcome
impl Unpin for RouteOutcome
impl UnsafeUnpin for RouteOutcome
impl UnwindSafe for RouteOutcome
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.