pub trait HandlerProxyInterface: Send + Sync {
    type IsActiveResponseFut: Future<Output = Result<(), Error>> + Send;
    type OnExceptionResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn is_active(&self) -> Self::IsActiveResponseFut;
    fn on_exception(
        &self,
        exception: Exception,
        info: &mut ExceptionInfo
    ) -> Self::OnExceptionResponseFut;
}

Required Associated Types§

source

type IsActiveResponseFut: Future<Output = Result<(), Error>> + Send

source

type OnExceptionResponseFut: Future<Output = Result<(), Error>> + Send

Required Methods§

source

fn is_active(&self) -> Self::IsActiveResponseFut

source

fn on_exception( &self, exception: Exception, info: &mut ExceptionInfo ) -> Self::OnExceptionResponseFut

Implementors§

source§

impl HandlerProxyInterface for HandlerProxy

§

type IsActiveResponseFut = QueryResponseFut<()>

§

type OnExceptionResponseFut = QueryResponseFut<()>