pub struct ConfigurationWebsocketStreamsBuilder { /* private fields */ }Expand description
Builder for ConfigurationWebsocketStreams.
Implementations§
Source§impl ConfigurationWebsocketStreamsBuilder
impl ConfigurationWebsocketStreamsBuilder
pub fn ws_url<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn reconnect_delay(self, value: u64) -> Self
pub fn mode(self, value: WebsocketMode) -> Self
pub fn agent(self, value: AgentConnector) -> Self
pub fn time_unit(self, value: TimeUnit) -> Self
Sourcepub fn build(self) -> Result<ConfigurationWebsocketStreams, ConfigBuildError>
pub fn build(self) -> Result<ConfigurationWebsocketStreams, ConfigBuildError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConfigurationWebsocketStreamsBuilder
impl RefUnwindSafe for ConfigurationWebsocketStreamsBuilder
impl Send for ConfigurationWebsocketStreamsBuilder
impl Sync for ConfigurationWebsocketStreamsBuilder
impl Unpin for ConfigurationWebsocketStreamsBuilder
impl UnwindSafe for ConfigurationWebsocketStreamsBuilder
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