pub struct WsApi { /* private fields */ }
Implementations§
Source§impl WsApi
impl WsApi
pub fn new(network: Network, api_key: Option<String>) -> Self
pub fn transactions_stream( &self, account_operations: Option<Vec<AccountOperations>>, ) -> TransactionsStream
pub fn traces_stream(&self, accounts: Option<Vec<String>>) -> TracesStream
pub fn mempool_stream(&self, accounts: Option<Vec<String>>) -> MempoolStream
Auto Trait Implementations§
impl !Freeze for WsApi
impl !RefUnwindSafe for WsApi
impl Send for WsApi
impl Sync for WsApi
impl Unpin for WsApi
impl !UnwindSafe for WsApi
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