pub struct BlockExplorerClient { /* private fields */ }Implementations§
Source§impl BlockExplorerClient
impl BlockExplorerClient
pub fn new(address: impl Into<String>) -> Self
pub async fn get_block(&mut self, block_id: &str) -> Result<String>
pub async fn get_account_roles( &mut self, account_role_id: &str, ) -> Result<String>
pub async fn get_account_stats(&mut self, account_id: &str) -> Result<String>
pub async fn get_account(&mut self, account_id: &str) -> Result<String>
pub async fn get_assets(&mut self) -> Result<String>
pub async fn get_audit_log(&mut self, tx_id: &str) -> Result<AuditLog>
pub async fn get_blocks(&mut self) -> Result<String>
pub async fn get_existing_assets(&mut self) -> Result<String>
pub async fn get_health(&mut self) -> Result<String>
pub async fn get_histogram(&mut self) -> Result<String>
pub async fn get_metrics(&mut self) -> Result<String>
pub async fn get_transaction(&mut self, transaction_id: &str) -> Result<String>
pub async fn get_transfer(&mut self, transfer_id: &str) -> Result<String>
Auto Trait Implementations§
impl Freeze for BlockExplorerClient
impl !RefUnwindSafe for BlockExplorerClient
impl Send for BlockExplorerClient
impl Sync for BlockExplorerClient
impl Unpin for BlockExplorerClient
impl UnsafeUnpin for BlockExplorerClient
impl !UnwindSafe for BlockExplorerClient
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request