pub struct AumConnection { /* private fields */ }
Implementations§
Source§impl AumConnection
impl AumConnection
pub async fn send_request( &mut self, request: Request, ) -> Result<Response, Box<dyn Error>>
pub async fn retrieve_address(&mut self) -> Result<Response, Box<dyn Error>>
pub async fn send_transaction( &mut self, to: String, amount: u64, ) -> Result<Response, Box<dyn Error>>
pub async fn send_transaction_from( &mut self, from: String, to: String, amount: u64, ) -> Result<Response, Box<dyn Error>>
pub async fn retrieve_balance( &mut self, address: String, ) -> Result<Response, Box<dyn Error>>
pub async fn retrieve_balances(&mut self) -> Result<Response, Box<dyn Error>>
pub async fn list_wallets(&mut self) -> Result<Response, Box<dyn Error>>
pub async fn sync(&mut self) -> Result<Response, Box<dyn Error>>
Auto Trait Implementations§
impl !Freeze for AumConnection
impl !RefUnwindSafe for AumConnection
impl Send for AumConnection
impl Sync for AumConnection
impl Unpin for AumConnection
impl !UnwindSafe for AumConnection
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