pub struct PolicyInterceptor { /* private fields */ }Implementations§
Source§impl PolicyInterceptor
impl PolicyInterceptor
pub fn new(config: PolicyConfig) -> Result<Self, PolicyError>
Trait Implementations§
Source§impl Clone for PolicyInterceptor
impl Clone for PolicyInterceptor
Source§fn clone(&self) -> PolicyInterceptor
fn clone(&self) -> PolicyInterceptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PolicyInterceptor
impl Debug for PolicyInterceptor
Source§impl Interceptor for PolicyInterceptor
impl Interceptor for PolicyInterceptor
fn initialize<'a>(
&'a self,
) -> InterceptorFuture<'a, Result<InterceptorInitialization, InterceptorRuntimeError>>where
Self: 'a,
fn intercept<'a>(
&'a self,
request: &'a InterceptionRequest,
) -> InterceptorFuture<'a, Result<InterceptionResponse, InterceptorRuntimeError>>where
Self: 'a,
Auto Trait Implementations§
impl Freeze for PolicyInterceptor
impl RefUnwindSafe for PolicyInterceptor
impl Send for PolicyInterceptor
impl Sync for PolicyInterceptor
impl Unpin for PolicyInterceptor
impl UnsafeUnpin for PolicyInterceptor
impl UnwindSafe for PolicyInterceptor
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