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§

source

fn id(&self) -> u64

source

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.

Implementors§

source§

impl<'a, C: Connection> Connection for Driver<'a, C>