pub struct CmsWsStreams {}Expand description
Represents the Cms WebSocket Streams client for interacting with the Binance Cms WebSocket Streams.
This struct provides methods to create WebSocket Streams clients for production environments.
Implementations§
Source§impl CmsWsStreams
impl CmsWsStreams
Sourcepub fn from_config(
config: ConfigurationWebsocketStreams,
) -> WebsocketStreamsHandle
pub fn from_config( config: ConfigurationWebsocketStreams, ) -> WebsocketStreamsHandle
Creates a WebSocket streams client configured with the given settings.
If no WS URL is specified in the configuration, defaults to the production Cms WebSocket Streams URL.
§Arguments
config- Configuration for the WebSocket streams client
§Returns
A new WebSocket streams client configured with the provided settings
Sourcepub fn production(
config: ConfigurationWebsocketStreams,
) -> WebsocketStreamsHandle
pub fn production( config: ConfigurationWebsocketStreams, ) -> WebsocketStreamsHandle
Auto Trait Implementations§
impl Freeze for CmsWsStreams
impl RefUnwindSafe for CmsWsStreams
impl Send for CmsWsStreams
impl Sync for CmsWsStreams
impl Unpin for CmsWsStreams
impl UnsafeUnpin for CmsWsStreams
impl UnwindSafe for CmsWsStreams
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