Trait XRPLSyncClient

Source
pub trait XRPLSyncClient: XRPLClient {
    // Required methods
    fn request<'a: 'b, 'b>(
        &self,
        request: XRPLRequest<'a>,
    ) -> XRPLClientResult<XRPLResponse<'b>>;
    fn get_common_fields(&self) -> XRPLClientResult<CommonFields<'_>>;
}

Required Methods§

Source

fn request<'a: 'b, 'b>( &self, request: XRPLRequest<'a>, ) -> XRPLClientResult<XRPLResponse<'b>>

Source

fn get_common_fields(&self) -> XRPLClientResult<CommonFields<'_>>

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.

Implementors§