pub struct BitcoinClient<S>(/* private fields */);Expand description
Basic Bitcoin JSON-RPC client.
Implementations§
Source§impl<S> BitcoinClient<S>
impl<S> BitcoinClient<S>
Sourcepub fn from_service(
service: S,
endpoint: String,
username: String,
password: String,
) -> Self
pub fn from_service( service: S, endpoint: String, username: String, password: String, ) -> Self
Create a new BitcoinClient using a user-defined client service.
Methods from Deref<Target = JsonClient<C>>§
Trait Implementations§
Source§impl<S: Clone> Clone for BitcoinClient<S>
impl<S: Clone> Clone for BitcoinClient<S>
Source§fn clone(&self) -> BitcoinClient<S>
fn clone(&self) -> BitcoinClient<S>
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<S: Debug> Debug for BitcoinClient<S>
impl<S: Debug> Debug for BitcoinClient<S>
Auto Trait Implementations§
impl<S> Freeze for BitcoinClient<S>where
S: Freeze,
impl<S> RefUnwindSafe for BitcoinClient<S>where
S: RefUnwindSafe,
impl<S> Send for BitcoinClient<S>where
S: Send,
impl<S> Sync for BitcoinClient<S>where
S: Sync,
impl<S> Unpin for BitcoinClient<S>where
S: Unpin,
impl<S> UnsafeUnpin for BitcoinClient<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for BitcoinClient<S>where
S: UnwindSafe,
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