pub struct DAppConnectionsApiClient { /* private fields */ }
Implementations§
Source§impl DAppConnectionsApiClient
impl DAppConnectionsApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl DAppConnectionsApi for DAppConnectionsApiClient
impl DAppConnectionsApi for DAppConnectionsApiClient
Source§fn create<'life0, 'async_trait>(
&'life0 self,
params: CreateParams,
) -> Pin<Box<dyn Future<Output = Result<CreateConnectionResponse, Error<CreateError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create<'life0, 'async_trait>(
&'life0 self,
params: CreateParams,
) -> Pin<Box<dyn Future<Output = Result<CreateConnectionResponse, Error<CreateError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Initiate a new dApp connection. * Note: After this succeeds, make a
request to PUT /v1/connections/wc/{id}
(below) to approve or reject
the new Web3 connection.
Source§fn get<'life0, 'async_trait>(
&'life0 self,
params: GetParams,
) -> Pin<Box<dyn Future<Output = Result<GetConnectionsResponse, Error<GetError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get<'life0, 'async_trait>(
&'life0 self,
params: GetParams,
) -> Pin<Box<dyn Future<Output = Result<GetConnectionsResponse, Error<GetError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
List all open dApp connections.
Source§fn remove<'life0, 'async_trait>(
&'life0 self,
params: RemoveParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RemoveError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn remove<'life0, 'async_trait>(
&'life0 self,
params: RemoveParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RemoveError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Remove an existing dApp connection
Source§fn submit<'life0, 'async_trait>(
&'life0 self,
params: SubmitParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<SubmitError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn submit<'life0, 'async_trait>(
&'life0 self,
params: SubmitParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<SubmitError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Submit a response to approve or reject an initiated dApp connection.
- Note: This call is used to complete your
POST /v1/connections/wc/
request. After this succeeds, your new dApp connection is created and functioning.
Auto Trait Implementations§
impl Freeze for DAppConnectionsApiClient
impl !RefUnwindSafe for DAppConnectionsApiClient
impl Send for DAppConnectionsApiClient
impl Sync for DAppConnectionsApiClient
impl Unpin for DAppConnectionsApiClient
impl !UnwindSafe for DAppConnectionsApiClient
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