Trait tokio_interceptor::Interceptor[][src]

pub trait Interceptor {
    type Error: 'static;
    fn before(
        &self,
        context: Context<Self::Error>
    ) -> Box<Future<Item = Context<Self::Error>, Error = Self::Error>> { ... }
fn after(
        &self,
        context: Context<Self::Error>
    ) -> Box<Future<Item = Context<Self::Error>, Error = Self::Error>> { ... } }

Associated Types

Provided Methods

Implementations on Foreign Types

impl<I: Interceptor + ?Sized> Interceptor for Arc<I>
[src]

impl<I: Interceptor + ?Sized> Interceptor for Rc<I>
[src]

Implementors