pub trait Connection: Errors {
    type Message<'a>: Message
    where
        Self: 'a
; fn next(&mut self) -> Option<Result<Event<Self::Message<'_>>, Self::Error>>; }

Associated Types

Required methods

GATs do not (yet) define a standard streaming iterator, so we have to put the next() method directly in the Connection trait

Implementations on Foreign Types

Implementors