pub struct ConfigurationWebsocketStreams {
pub ws_url: Option<String>,
pub reconnect_delay: u64,
pub mode: WebsocketMode,
pub agent: Option<AgentConnector>,
pub handshake: Option<WebsocketHandshakeFn>,
pub time_unit: Option<TimeUnit>,
/* private fields */
}Fields§
§ws_url: Option<String>§reconnect_delay: u64§mode: WebsocketMode§agent: Option<AgentConnector>§handshake: Option<WebsocketHandshakeFn>Overrides how the SDK performs the TLS/WebSocket handshake. See
WebsocketHandshakeFn for details and its interaction with agent.
time_unit: Option<TimeUnit>Implementations§
Source§impl ConfigurationWebsocketStreams
impl ConfigurationWebsocketStreams
Sourcepub fn builder() -> ConfigurationWebsocketStreamsBuilder
pub fn builder() -> ConfigurationWebsocketStreamsBuilder
Creates a builder for ConfigurationWebsocketStreams with default settings.
§Returns
A ConfigurationWebsocketStreamsBuilder initialized with default values
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ConfigurationWebsocketStreams
impl !UnwindSafe for ConfigurationWebsocketStreams
impl Freeze for ConfigurationWebsocketStreams
impl Send for ConfigurationWebsocketStreams
impl Sync for ConfigurationWebsocketStreams
impl Unpin for ConfigurationWebsocketStreams
impl UnsafeUnpin for ConfigurationWebsocketStreams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more