Trait sea_streamer_types::ConnectOptions

source ·
pub trait ConnectOptions: Default + Clone + Send {
    type Error: Error;

    // Required methods
    fn timeout(&self) -> StreamResult<Duration, Self::Error>;
    fn set_timeout(
        &mut self,
        d: Duration
    ) -> StreamResult<&mut Self, Self::Error>;
}
Expand description

Common options when connecting to a streamer.

Required Associated Types§

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§