Struct skar_client::Client
source · pub struct Client { /* private fields */ }Implementations§
source§impl Client
impl Client
pub fn new(cfg: Config) -> Self
pub async fn create_parquet_folder( &self, query: Query, path: String ) -> Result<()>
pub async fn get_height(&self) -> Result<u64>
pub async fn get_height_with_retry(&self) -> Result<u64>
pub async fn send<Format: TransportFormat>( &self, query: &Query ) -> Result<QueryResponse>
pub async fn send_with_retry<Format: TransportFormat>( &self, query: &Query ) -> Result<QueryResponse>
Auto Trait Implementations§
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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