pub struct Fallthrough(pub Filter);
Expand description
The behaviour when the none of branches match. Defaults to dropping packets.
Tuple Fields
0: Filter
Trait Implementations
sourceimpl Debug for Fallthrough
impl Debug for Fallthrough
sourceimpl Default for Fallthrough
impl Default for Fallthrough
sourceimpl<'de> Deserialize<'de> for Fallthrough
impl<'de> Deserialize<'de> for Fallthrough
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl JsonSchema for Fallthrough
impl JsonSchema for Fallthrough
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourceimpl PartialEq<Fallthrough> for Fallthrough
impl PartialEq<Fallthrough> for Fallthrough
sourcefn eq(&self, other: &Fallthrough) -> bool
fn eq(&self, other: &Fallthrough) -> bool
sourceimpl Serialize for Fallthrough
impl Serialize for Fallthrough
sourceimpl TryFrom<Fallthrough> for Filter
impl TryFrom<Fallthrough> for Filter
impl Eq for Fallthrough
impl StructuralEq for Fallthrough
impl StructuralPartialEq for Fallthrough
Auto Trait Implementations
impl RefUnwindSafe for Fallthrough
impl Send for Fallthrough
impl Sync for Fallthrough
impl Unpin for Fallthrough
impl UnwindSafe for Fallthrough
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request