pub struct MtlsInterceptor { /* private fields */ }Expand description
Interceptor for gRPC that validates mTLS and IP whitelisting.
Implementations§
Source§impl MtlsInterceptor
impl MtlsInterceptor
Sourcepub fn new(validator: ConnectionValidator) -> Self
pub fn new(validator: ConnectionValidator) -> Self
Creates a new MtlsInterceptor with the given connection validator.
Trait Implementations§
Source§impl Clone for MtlsInterceptor
impl Clone for MtlsInterceptor
Source§fn clone(&self) -> MtlsInterceptor
fn clone(&self) -> MtlsInterceptor
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 moreAuto Trait Implementations§
impl Freeze for MtlsInterceptor
impl !RefUnwindSafe for MtlsInterceptor
impl Send for MtlsInterceptor
impl Sync for MtlsInterceptor
impl Unpin for MtlsInterceptor
impl !UnwindSafe for MtlsInterceptor
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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