pub struct BaseWalletAdapter {
pub emitter: EventEmitter,
/* private fields */
}Fieldsยง
ยงemitter: EventEmitterImplementationsยง
Trait Implementationsยง
Sourceยงimpl Clone for BaseWalletAdapter
impl Clone for BaseWalletAdapter
Sourceยงfn clone(&self) -> BaseWalletAdapter
fn clone(&self) -> BaseWalletAdapter
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยงimpl Default for BaseWalletAdapter
impl Default for BaseWalletAdapter
Sourceยงfn default() -> BaseWalletAdapter
fn default() -> BaseWalletAdapter
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl From<Wallet> for BaseWalletAdapter
impl From<Wallet> for BaseWalletAdapter
Sourceยงimpl PartialEq for BaseWalletAdapter
impl PartialEq for BaseWalletAdapter
Sourceยงimpl WalletAdapter for BaseWalletAdapter
impl WalletAdapter for BaseWalletAdapter
fn name(&self) -> String
fn url(&self) -> String
fn icon(&self) -> String
fn ready_state(&self) -> WalletReadyState
fn public_key(&self) -> Option<Pubkey>
fn connecting(&self) -> bool
async fn auto_connect(&mut self) -> Result<bool, WalletError>
async fn connect(&mut self) -> Result<bool, WalletError>
async fn disconnect(&mut self) -> Result<bool, WalletError>
async fn send_transaction( &mut self, client: Arc<RpcClient>, transaction: TransactionOrVersionedTransaction, ) -> Result<Signature, WalletError>
async fn sign_transaction( &mut self, transaction: Transaction, ) -> Result<Signature, WalletError>
async fn sign_send_transaction( &mut self, transaction: Transaction, ) -> Result<Signature, WalletError>
async fn sign_message( &mut self, message: &str, ) -> Result<Signature, WalletError>
fn connected(&self) -> bool
Sourceยงimpl WalletAdapterEvents for BaseWalletAdapter
impl WalletAdapterEvents for BaseWalletAdapter
fn emit_connect(&mut self, public_key: Pubkey)
fn emit_disconnect(&mut self)
fn emit_error(&mut self, error: WalletError)
fn ready_state_change(&mut self, ready_state: WalletReadyState)
fn emit_transaction_sent(&mut self, signature: Signature)
impl StructuralPartialEq for BaseWalletAdapter
Auto Trait Implementationsยง
impl Freeze for BaseWalletAdapter
impl !RefUnwindSafe for BaseWalletAdapter
impl Send for BaseWalletAdapter
impl Sync for BaseWalletAdapter
impl Unpin for BaseWalletAdapter
impl !UnwindSafe for BaseWalletAdapter
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
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<T> Instrument for T
impl<T> Instrument for T
Sourceยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Sourceยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงimpl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Sourceยงfn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Sourceยงimpl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Sourceยงfn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.Sourceยงimpl<T> Pointable for T
impl<T> Pointable for T
Sourceยงimpl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
Sourceยงfn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
Sourceยงimpl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
Sourceยงfn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.