pub trait XRPLAsyncWebsocketIO {
// Required methods
async fn xrpl_send(
&mut self,
message: XRPLRequest<'_>,
) -> XRPLClientResult<()>;
async fn xrpl_receive(
&mut self,
) -> XRPLClientResult<Option<XRPLResponse<'_>>>;
}
Required Methods§
async fn xrpl_send(&mut self, message: XRPLRequest<'_>) -> XRPLClientResult<()>
async fn xrpl_receive(&mut self) -> XRPLClientResult<Option<XRPLResponse<'_>>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.