pub struct NullRequestFilterExecutor { /* private fields */ }
Expand description
A “null” request filter executor, which does nothing, but permits bypassing of typechecking issues where no filter should be applied.
Trait Implementations§
source§impl Clone for NullRequestFilterExecutor
impl Clone for NullRequestFilterExecutor
source§fn clone(&self) -> NullRequestFilterExecutor
fn clone(&self) -> NullRequestFilterExecutor
Returns a copy 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 NullRequestFilterExecutor
impl Debug for NullRequestFilterExecutor
source§impl RequestFilterExecutor for NullRequestFilterExecutor
impl RequestFilterExecutor for NullRequestFilterExecutor
source§fn call(self: Arc<Self>, _request: &HttpRequest) -> HttpRequest
fn call(self: Arc<Self>, _request: &HttpRequest) -> HttpRequest
Mutates HTTP requests based on some criteria.
source§fn call_non_http(
&self,
_body: &OptionalBody,
_metadata: &HashMap<String, Either<Value, Bytes>>
) -> (OptionalBody, HashMap<String, Either<Value, Bytes>>)
fn call_non_http( &self, _body: &OptionalBody, _metadata: &HashMap<String, Either<Value, Bytes>> ) -> (OptionalBody, HashMap<String, Either<Value, Bytes>>)
Callback to mutate request data. This form is used by plugins.
Auto Trait Implementations§
impl RefUnwindSafe for NullRequestFilterExecutor
impl Send for NullRequestFilterExecutor
impl Sync for NullRequestFilterExecutor
impl Unpin for NullRequestFilterExecutor
impl UnwindSafe for NullRequestFilterExecutor
Blanket Implementations§
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