pub struct Server { /* private fields */ }
Trait Implementations§
Source§impl Api for Server
impl Api for Server
fn getblockhash(&self, height: usize) -> Result<BlockHash, Error>
fn getblockheader( &self, block_hash: BlockHash, verbose: bool, ) -> Result<String, Error>
fn getblock( &self, block_hash: BlockHash, verbosity: u64, ) -> Result<String, Error>
fn get_raw_transaction( &self, txid: Txid, verbose: bool, blockhash: Option<BlockHash>, ) -> Result<Value, Error>
fn list_unspent( &self, minconf: Option<usize>, maxconf: Option<usize>, address: Option<Address>, include_unsafe: Option<bool>, query_options: Option<String>, ) -> Result<Vec<ListUnspentResultEntry>, Error>
Source§fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M>
fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M>
Create an
IoDelegate
, wiring rpc calls to the trait methods.Auto Trait Implementations§
impl Freeze for Server
impl RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl UnwindSafe for Server
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