[][src]Struct eosio_client_api::wallet_types::Wallet

pub struct Wallet { /* fields omitted */ }

Implementations

impl Wallet[src]

pub fn create(keos: EOSRPC) -> Wallet[src]

pub fn create_with_chain_id(keos: EOSRPC, chain_id: &str) -> Wallet[src]

pub fn list(&self) -> Result<Vec<String>>[src]

pub fn keys(&self) -> Result<Vec<EOSPublicKey>>[src]

pub fn private_keys(
    &self,
    wallet: &str,
    pass: &str
) -> Result<Vec<(EOSPublicKey, EOSPrivateKey)>>
[src]

pub fn unlock(&self, wallet: &str, pass: &str) -> Result<bool>[src]

pub fn sign_transaction(
    &self,
    transaction: TransactionIn,
    pubkey: Vec<EOSPublicKey>
) -> Result<TransactionInSigned>
[src]

pub fn sign_digest(
    &self,
    digest: &[u8],
    pubkey: &EOSPublicKey
) -> Result<String>
[src]

Auto Trait Implementations

impl !RefUnwindSafe for Wallet

impl Send for Wallet

impl Sync for Wallet

impl Unpin for Wallet

impl !UnwindSafe for Wallet

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,