pub struct JsonRpcClient(/* private fields */);
Implementations§
Trait Implementations§
Source§impl XRPLClient for JsonRpcClient
impl XRPLClient for JsonRpcClient
async fn request_impl<'a: 'b, 'b>( &self, request: XRPLRequest<'a>, ) -> XRPLClientResult<XRPLResponse<'b>>
fn get_host(&self) -> Url
Source§fn get_random_id<'a>(&self) -> Cow<'a, str>
fn get_random_id<'a>(&self) -> Cow<'a, str>
Generate a random id.
fn set_request_id(&self, request: &mut XRPLRequest<'_>)
Source§impl XRPLFaucet for JsonRpcClient
impl XRPLFaucet for JsonRpcClient
async fn request_funding( &self, url: Option<Url>, request: FundFaucet<'_>, ) -> XRPLClientResult<()>
fn get_faucet_url(&self, url: Option<Url>) -> XRPLClientResult<Url>where
Self: Sized + XRPLClient,
Source§impl XRPLSyncClient for JsonRpcClient
impl XRPLSyncClient for JsonRpcClient
fn request<'a: 'b, 'b>( &self, request: XRPLRequest<'a>, ) -> XRPLClientResult<XRPLResponse<'b>>
fn get_common_fields(&self) -> XRPLClientResult<CommonFields<'_>>
Auto Trait Implementations§
impl Freeze for JsonRpcClient
impl !RefUnwindSafe for JsonRpcClient
impl Send for JsonRpcClient
impl Sync for JsonRpcClient
impl Unpin for JsonRpcClient
impl !UnwindSafe for JsonRpcClient
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