Trait tokio_interceptor::NewInterceptor [−][src]
pub trait NewInterceptor { type Error: 'static; type Interceptor: Interceptor<Error = Self::Error>; fn new_interceptor(&self) -> Self::Interceptor; }
Associated Types
type Error: 'static
type Interceptor: Interceptor<Error = Self::Error>
Required Methods
fn new_interceptor(&self) -> Self::Interceptor
Implementors
impl<I: Copy + Interceptor> NewInterceptor for I type Error = I::Error; type Interceptor = I;