Struct diem_sdk::client::stream::StreamingClientConfig
pub struct StreamingClientConfig {
pub channel_size: usize,
pub ok_timeout_millis: u64,
}
Expand description
Configuration options for the Streaming Client
Fields§
§channel_size: usize
The buffer of incoming messages per subscription
ok_timeout_millis: u64
How long to wait for an incoming message before considering a subscription ‘timed out’
Trait Implementations§
§impl Default for StreamingClientConfig
impl Default for StreamingClientConfig
§fn default() -> StreamingClientConfig
fn default() -> StreamingClientConfig
Returns the “default value” for a type. Read more