Skip to main content

ParseRunner

Trait ParseRunner 

Source
pub trait ParseRunner: Sync {
    type Session: ParseSession;

    // Required method
    fn start(
        &self,
        request: ParseRequest,
    ) -> impl Future<Output = Result<Self::Session, ChannelError>> + Send;
}
Expand description

Starts runners in parse mode.

Required Associated Types§

Source

type Session: ParseSession

The started runner.

Required Methods§

Source

fn start( &self, request: ParseRequest, ) -> impl Future<Output = Result<Self::Session, ChannelError>> + Send

Starts a runner, completes the handshake and sends it the request. Called for several files at once.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§