pub struct AsyncJsonRpcClient { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl XRPLClient for AsyncJsonRpcClient
impl XRPLClient for AsyncJsonRpcClient
async fn request_impl<'a: 'b, 'b>( &self, request: XRPLRequest<'a>, ) -> XRPLClientResult<XRPLResponse<'b>>
fn get_host(&self) -> Url
fn set_request_id(&self, request: &mut XRPLRequest<'_>)
Source§fn get_random_id<'a>(&self) -> Cow<'a, str>
fn get_random_id<'a>(&self) -> Cow<'a, str>
Generate a random id.
Source§impl XRPLFaucet for AsyncJsonRpcClient
impl XRPLFaucet for AsyncJsonRpcClient
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,
Auto Trait Implementations§
impl Freeze for AsyncJsonRpcClient
impl !RefUnwindSafe for AsyncJsonRpcClient
impl Send for AsyncJsonRpcClient
impl Sync for AsyncJsonRpcClient
impl Unpin for AsyncJsonRpcClient
impl !UnwindSafe for AsyncJsonRpcClient
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