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§
Sourcetype Session: ParseSession
type Session: ParseSession
The started runner.
Required Methods§
Sourcefn start(
&self,
request: ParseRequest,
) -> impl Future<Output = Result<Self::Session, ChannelError>> + Send
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".