pub struct ViewGateway_ViewGateway1_Client { /* private fields */ }Implementations§
Source§impl ViewGateway_ViewGateway1_Client
impl ViewGateway_ViewGateway1_Client
pub fn new(handle: Arc<dyn RpcSender>) -> Self
pub async fn viewgateway_intro( &self, arg0: &(impl EncodesAs<ProtocolCommit> + ?Sized), ) -> Result<ViewGatewayIntroOutcome, RpcError>
pub async fn viewgateway_view( &self, arg0: &(impl EncodesAs<TransactionViewQuery> + ?Sized), ) -> Result<ViewGatewayResult, RpcError>
pub async fn viewgateway_view_batch( &self, arg0: &(impl EncodesAs<ViewGatewayBatchQuery> + ?Sized), ) -> Result<ViewGatewayBatchResult, RpcError>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ViewGateway_ViewGateway1_Client
impl !UnwindSafe for ViewGateway_ViewGateway1_Client
impl Freeze for ViewGateway_ViewGateway1_Client
impl Send for ViewGateway_ViewGateway1_Client
impl Sync for ViewGateway_ViewGateway1_Client
impl Unpin for ViewGateway_ViewGateway1_Client
impl UnsafeUnpin for ViewGateway_ViewGateway1_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