pub struct WalletInterfaceProxy<'p>(/* private fields */);Implementations§
Source§impl<'p> WalletInterfaceProxy<'p>
impl<'p> WalletInterfaceProxy<'p>
Sourcepub async fn new(conn: &Connection) -> Result<WalletInterfaceProxy<'p>>
pub async fn new(conn: &Connection) -> Result<WalletInterfaceProxy<'p>>
Creates a new proxy with the default service and path.
Sourcepub fn builder(conn: &Connection) -> Builder<'p, Self>
pub fn builder(conn: &Connection) -> Builder<'p, Self>
Returns a customizable builder for this proxy.
Sourcepub fn into_inner(self) -> Proxy<'p>
pub fn into_inner(self) -> Proxy<'p>
Consumes self, returning the underlying zbus::Proxy.
Sourcepub fn inner_mut(&mut self) -> &mut Proxy<'p>
pub fn inner_mut(&mut self) -> &mut Proxy<'p>
The mutable reference to the underlying zbus::Proxy.
Sourcepub async fn receive_on_transaction_success(
&self,
) -> Result<OnTransactionSuccessStream>
pub async fn receive_on_transaction_success( &self, ) -> Result<OnTransactionSuccessStream>
Create a stream that receives OnTransactionSuccess signals.
This a convenient wrapper around zbus::Proxy::receive_signal.
Sourcepub async fn receive_on_transaction_success_with_args(
&self,
args: &[(u8, &str)],
) -> Result<OnTransactionSuccessStream>
pub async fn receive_on_transaction_success_with_args( &self, args: &[(u8, &str)], ) -> Result<OnTransactionSuccessStream>
Create a stream that receives OnTransactionSuccess signals.
This a convenient wrapper around zbus::Proxy::receive_signal_with_args.
Sourcepub async fn receive_on_transaction_cancelled(
&self,
) -> Result<OnTransactionCancelledStream>
pub async fn receive_on_transaction_cancelled( &self, ) -> Result<OnTransactionCancelledStream>
Create a stream that receives OnTransactionCancelled signals.
This a convenient wrapper around zbus::Proxy::receive_signal.
Sourcepub async fn receive_on_transaction_cancelled_with_args(
&self,
args: &[(u8, &str)],
) -> Result<OnTransactionCancelledStream>
pub async fn receive_on_transaction_cancelled_with_args( &self, args: &[(u8, &str)], ) -> Result<OnTransactionCancelledStream>
Create a stream that receives OnTransactionCancelled signals.
This a convenient wrapper around zbus::Proxy::receive_signal_with_args.
Sourcepub async fn receive_on_transaction_sign_success(
&self,
) -> Result<OnTransactionSignSuccessStream>
pub async fn receive_on_transaction_sign_success( &self, ) -> Result<OnTransactionSignSuccessStream>
Create a stream that receives OnTransactionSignSuccess signals.
This a convenient wrapper around zbus::Proxy::receive_signal.
Sourcepub async fn receive_on_transaction_sign_success_with_args(
&self,
args: &[(u8, &str)],
) -> Result<OnTransactionSignSuccessStream>
pub async fn receive_on_transaction_sign_success_with_args( &self, args: &[(u8, &str)], ) -> Result<OnTransactionSignSuccessStream>
Create a stream that receives OnTransactionSignSuccess signals.
This a convenient wrapper around zbus::Proxy::receive_signal_with_args.
Sourcepub async fn receive_on_transaction_sign_cancelled(
&self,
) -> Result<OnTransactionSignCancelledStream>
pub async fn receive_on_transaction_sign_cancelled( &self, ) -> Result<OnTransactionSignCancelledStream>
Create a stream that receives OnTransactionSignCancelled signals.
This a convenient wrapper around zbus::Proxy::receive_signal.
Sourcepub async fn receive_on_transaction_sign_cancelled_with_args(
&self,
args: &[(u8, &str)],
) -> Result<OnTransactionSignCancelledStream>
pub async fn receive_on_transaction_sign_cancelled_with_args( &self, args: &[(u8, &str)], ) -> Result<OnTransactionSignCancelledStream>
Create a stream that receives OnTransactionSignCancelled signals.
This a convenient wrapper around zbus::Proxy::receive_signal_with_args.
Sourcepub async fn receive_on_message_sign_success(
&self,
) -> Result<OnMessageSignSuccessStream>
pub async fn receive_on_message_sign_success( &self, ) -> Result<OnMessageSignSuccessStream>
Create a stream that receives OnMessageSignSuccess signals.
This a convenient wrapper around zbus::Proxy::receive_signal.
Sourcepub async fn receive_on_message_sign_success_with_args(
&self,
args: &[(u8, &str)],
) -> Result<OnMessageSignSuccessStream>
pub async fn receive_on_message_sign_success_with_args( &self, args: &[(u8, &str)], ) -> Result<OnMessageSignSuccessStream>
Create a stream that receives OnMessageSignSuccess signals.
This a convenient wrapper around zbus::Proxy::receive_signal_with_args.
Sourcepub async fn receive_on_message_sign_cancelled(
&self,
) -> Result<OnMessageSignCancelledStream>
pub async fn receive_on_message_sign_cancelled( &self, ) -> Result<OnMessageSignCancelledStream>
Create a stream that receives OnMessageSignCancelled signals.
This a convenient wrapper around zbus::Proxy::receive_signal.
Sourcepub async fn receive_on_message_sign_cancelled_with_args(
&self,
args: &[(u8, &str)],
) -> Result<OnMessageSignCancelledStream>
pub async fn receive_on_message_sign_cancelled_with_args( &self, args: &[(u8, &str)], ) -> Result<OnMessageSignCancelledStream>
Create a stream that receives OnMessageSignCancelled signals.
This a convenient wrapper around zbus::Proxy::receive_signal_with_args.
pub async fn address(&self) -> Result<String>
Sourcepub fn cached_address(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_address( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Get the cached value of the Address property, or None if the property is not cached.
Sourcepub async fn receive_address_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_address_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Create a stream for the Address property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
pub async fn sign_message( &self, provider_app_id: String, msg_id: String, msg: String, ) -> Result<()>
pub async fn sign_transaction( &self, provider_app_id: String, tx_id: String, tx_bytes: String, ) -> Result<()>
pub async fn sign_and_execute_transaction( &self, provider_app_id: String, tx_id: String, tx_bytes: String, ) -> Result<()>
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for WalletInterfaceProxy<'p>
impl<'p> AsMut<Proxy<'p>> for WalletInterfaceProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for WalletInterfaceProxy<'p>
impl<'p> AsRef<Proxy<'p>> for WalletInterfaceProxy<'p>
Source§impl<'p> Clone for WalletInterfaceProxy<'p>
impl<'p> Clone for WalletInterfaceProxy<'p>
Source§fn clone(&self) -> WalletInterfaceProxy<'p>
fn clone(&self) -> WalletInterfaceProxy<'p>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more