Skip to main content

EventStreamProxyInterface

Trait EventStreamProxyInterface 

Source
pub trait EventStreamProxyInterface: Send + Sync {
    type GetNextResponseFut: Future<Output = Result<Vec<Event>, Error>> + Send;
    type WaitForReadyResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn get_next(&self) -> Self::GetNextResponseFut;
    fn wait_for_ready(&self) -> Self::WaitForReadyResponseFut;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§