Skip to main content

CheckDispatch

Trait CheckDispatch 

Source
pub trait CheckDispatch:
    Send
    + Sync
    + 'static {
    // Required method
    fn check<'a>(
        &'a self,
        context: CallContext,
        request: CheckRequest,
    ) -> Pin<Box<dyn Future<Output = Result<CheckOutcome, CheckError>> + Send + 'a>>;
}

Required Methods§

Source

fn check<'a>( &'a self, context: CallContext, request: CheckRequest, ) -> Pin<Box<dyn Future<Output = Result<CheckOutcome, CheckError>> + Send + 'a>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§