Trait s2n_netbench::client::Connection
source · pub trait Connection: Provider {
// Required methods
fn id(&self) -> u64;
fn poll<T: Trace, Ch: Checkpoints>(
&mut self,
trace: &mut T,
checkpoints: &mut Ch,
now: Timestamp,
cx: &mut Context<'_>
) -> Poll<Result<()>>;
}
Required Methods§
fn id(&self) -> u64
fn poll<T: Trace, Ch: Checkpoints>( &mut self, trace: &mut T, checkpoints: &mut Ch, now: Timestamp, cx: &mut Context<'_> ) -> Poll<Result<()>>
Object Safety§
This trait is not object safe.