pub enum ChainSourceClient {
Bitcoind {
rpc: Client,
sync: BitcoinRpcClient,
},
Esplora(AsyncClient),
}Variants§
Bitcoind
Native bitcoind backend.
Carries an async client for everything the wallet does asynchronously
and a sync companion for bdk_bitcoind_rpc::Emitter, which is sync-only
upstream and runs inside tokio::task::spawn_blocking.
Esplora(AsyncClient)
Auto Trait Implementations§
impl !Freeze for ChainSourceClient
impl !RefUnwindSafe for ChainSourceClient
impl !UnwindSafe for ChainSourceClient
impl Send for ChainSourceClient
impl Sync for ChainSourceClient
impl Unpin for ChainSourceClient
impl UnsafeUnpin for ChainSourceClient
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request