Trait Relay

Source
pub trait Relay: Send {
    // Required method
    fn poll_run(
        self: Pin<&mut Self>,
        cx: &mut Context<'_>,
    ) -> Poll<Result<(), Error>>;
}
Expand description

转发器运行trait

Required Methods§

Source

fn poll_run( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<Result<(), Error>>

异步运行

Implementors§