pub struct BinanceClient { /* private fields */ }Implementations§
Source§impl BinanceClient
impl BinanceClient
pub fn new() -> Self
pub fn with_config(self, config: Config) -> Self
Source§impl BinanceClient
impl BinanceClient
Source§impl BinanceClient
impl BinanceClient
pub async fn connect_stream<T: StreamTopic>( &self, topic: T, ) -> Result<BinanceWebsocket<T::Event>, BinanceError>
Trait Implementations§
Source§impl Clone for BinanceClient
impl Clone for BinanceClient
Source§fn clone(&self) -> BinanceClient
fn clone(&self) -> BinanceClient
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for BinanceClient
impl Default for BinanceClient
Source§fn default() -> BinanceClient
fn default() -> BinanceClient
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BinanceClient
impl !RefUnwindSafe for BinanceClient
impl Send for BinanceClient
impl Sync for BinanceClient
impl Unpin for BinanceClient
impl !UnwindSafe for BinanceClient
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)