pub struct DefaultWalletImpl<'a, C>where
C: NodeClient + 'a,{ /* private fields */ }Expand description
Main wallet instance
Implementations§
Source§impl<'a, C> DefaultWalletImpl<'a, C>where
C: NodeClient + 'a,
impl<'a, C> DefaultWalletImpl<'a, C>where
C: NodeClient + 'a,
Trait Implementations§
Source§impl<'a, L, C, K> WalletInst<'a, L, C, K> for DefaultWalletImpl<'a, C>where
DefaultLCProvider<'a, C, ExtKeychain>: WalletLCProvider<'a, C, K>,
L: WalletLCProvider<'a, C, K>,
C: NodeClient + 'a,
K: Keychain + 'a,
impl<'a, L, C, K> WalletInst<'a, L, C, K> for DefaultWalletImpl<'a, C>where
DefaultLCProvider<'a, C, ExtKeychain>: WalletLCProvider<'a, C, K>,
L: WalletLCProvider<'a, C, K>,
C: NodeClient + 'a,
K: Keychain + 'a,
Source§fn lc_provider(
&mut self,
) -> Result<&mut (dyn WalletLCProvider<'a, C, K> + 'a), Error>
fn lc_provider( &mut self, ) -> Result<&mut (dyn WalletLCProvider<'a, C, K> + 'a), Error>
Return the stored instance
Auto Trait Implementations§
impl<'a, C> Freeze for DefaultWalletImpl<'a, C>where
C: Freeze,
impl<'a, C> !RefUnwindSafe for DefaultWalletImpl<'a, C>
impl<'a, C> Send for DefaultWalletImpl<'a, C>
impl<'a, C> Sync for DefaultWalletImpl<'a, C>
impl<'a, C> Unpin for DefaultWalletImpl<'a, C>where
C: Unpin,
impl<'a, C> !UnwindSafe for DefaultWalletImpl<'a, C>
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> 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> 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 more