pub struct Stream { /* private fields */ }Implementations§
source§impl Stream
impl Stream
pub async fn connect( url: &str, stream_session_id: String ) -> Result<Stream, Error>
pub async fn skip_delay(&self)
sourcepub async fn get_balance(&self) -> Result<(), Error>
pub async fn get_balance(&self) -> Result<(), Error>
pub async fn stop_balance(&self) -> Result<(), Error>
pub async fn stop_candles(&self, symbol: &str) -> Result<(), Error>
sourcepub async fn get_keep_alive(&self) -> Result<(), Error>
pub async fn get_keep_alive(&self) -> Result<(), Error>
pub async fn stop_keep_alive(&self) -> Result<(), Error>
pub async fn get_news(&self) -> Result<(), Error>
pub async fn stop_news(&self) -> Result<(), Error>
sourcepub async fn get_profits(&self) -> Result<(), Error>
pub async fn get_profits(&self) -> Result<(), Error>
pub async fn stop_profits(&self) -> Result<(), Error>
sourcepub async fn get_tick_prices(
&self,
symbol: &str,
min_arrival_time: isize,
max_level: isize
) -> Result<(), Error>
pub async fn get_tick_prices( &self, symbol: &str, min_arrival_time: isize, max_level: isize ) -> Result<(), Error>
pub async fn stop_tick_prices(&self, symbol: &str) -> Result<(), Error>
pub async fn get_trades(&self) -> Result<(), Error>
pub async fn stop_trades(&self) -> Result<(), Error>
pub async fn get_trade_status(&self) -> Result<(), Error>
pub async fn stop_trade_status(&self) -> Result<(), Error>
pub async fn ping(&self) -> Result<(), Error>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl !UnwindSafe for Stream
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