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 Freeze for NullRequestFilterExecutor
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> 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> 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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§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