pub struct KiteTickerAsync { /* private fields */ }Expand description
The WebSocket client for connecting to Kite Connect’s streaming quotes service.
Implementations§
Source§impl KiteTickerAsync
impl KiteTickerAsync
Sourcepub async fn connect(api_key: &str, access_token: &str) -> Result<Self, String>
pub async fn connect(api_key: &str, access_token: &str) -> Result<Self, String>
Establish a connection with the Kite WebSocket server
Trait Implementations§
Source§impl Clone for KiteTickerAsync
impl Clone for KiteTickerAsync
Source§fn clone(&self) -> KiteTickerAsync
fn clone(&self) -> KiteTickerAsync
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for KiteTickerAsync
impl !RefUnwindSafe for KiteTickerAsync
impl Send for KiteTickerAsync
impl Sync for KiteTickerAsync
impl Unpin for KiteTickerAsync
impl !UnwindSafe for KiteTickerAsync
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