pub struct L4ProtoFilter {
pub tcp: bool,
pub tcp6: bool,
pub udp: bool,
pub udp6: bool,
}Expand description
Layer 4 protocol filter.
Fields§
§tcp: boolInclude TCP.
tcp6: boolInclude TCP6.
udp: boolInclude UDP.
udp6: boolInclude UDP6.
Implementations§
Trait Implementations§
Source§impl Clone for L4ProtoFilter
impl Clone for L4ProtoFilter
Source§fn clone(&self) -> L4ProtoFilter
fn clone(&self) -> L4ProtoFilter
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 moreSource§impl Debug for L4ProtoFilter
impl Debug for L4ProtoFilter
Source§impl Default for L4ProtoFilter
impl Default for L4ProtoFilter
Source§fn default() -> L4ProtoFilter
fn default() -> L4ProtoFilter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for L4ProtoFilter
impl RefUnwindSafe for L4ProtoFilter
impl Send for L4ProtoFilter
impl Sync for L4ProtoFilter
impl Unpin for L4ProtoFilter
impl UnwindSafe for L4ProtoFilter
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