Struct bitcoin_cli::GetinfoRequestHandler
source · pub struct GetinfoRequestHandler {}
Expand description
| Process getinfo requests |
Trait Implementations§
source§impl BaseRequestHandler for GetinfoRequestHandler
impl BaseRequestHandler for GetinfoRequestHandler
source§fn prepare_request(
&mut self,
method: &str,
args: &Vec<String>
) -> Result<UniValue, StdException>
fn prepare_request( &mut self, method: &str, args: &Vec<String> ) -> Result<UniValue, StdException>
| Create a simulated getinfo
request.
|
source§fn process_reply(
&mut self,
batch_in: &UniValue
) -> Result<UniValue, StdException>
fn process_reply( &mut self, batch_in: &UniValue ) -> Result<UniValue, StdException>
| Collect values from the batch and form
| a simulated getinfo
reply.
|
source§impl Default for GetinfoRequestHandler
impl Default for GetinfoRequestHandler
source§fn default() -> GetinfoRequestHandler
fn default() -> GetinfoRequestHandler
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for GetinfoRequestHandler
impl Send for GetinfoRequestHandler
impl Sync for GetinfoRequestHandler
impl Unpin for GetinfoRequestHandler
impl UnwindSafe for GetinfoRequestHandler
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more