pub struct GeneralClient { /* private fields */ }Implementations§
Source§impl GeneralClient
impl GeneralClient
Sourcepub async fn test_connectivity(
&self,
) -> Result<Response<TestConnectivity>, Error>
pub async fn test_connectivity( &self, ) -> Result<Response<TestConnectivity>, Error>
Test connectivity to the Rest API.
pub async fn get_server_time(&self) -> Result<Response<ServerTime>, Error>
pub async fn get_exchange_info( &self, params: GetExchangeInfoParams, ) -> Result<Response<ExchangeInfo>, Error>
Auto Trait Implementations§
impl Freeze for GeneralClient
impl RefUnwindSafe for GeneralClient
impl Send for GeneralClient
impl Sync for GeneralClient
impl Unpin for GeneralClient
impl UnwindSafe for GeneralClient
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