pub trait HandlesApiClient<BlockHash>: ClientT{
// Provided methods
fn get_handle_for_msa<'life0, 'async_trait>(
&'life0 self,
msa_id: MessageSourceId,
) -> Pin<Box<dyn Future<Output = Result<Option<HandleResponse>, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
fn get_next_suffixes<'life0, 'async_trait>(
&'life0 self,
base_handle: String,
count: Option<u16>,
) -> Pin<Box<dyn Future<Output = Result<PresumptiveSuffixesResponse, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
fn get_msa_for_handle<'life0, 'async_trait>(
&'life0 self,
display_handle: String,
) -> Pin<Box<dyn Future<Output = Result<Option<MessageSourceId>, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
fn validate_handle<'life0, 'async_trait>(
&'life0 self,
base_handle: String,
) -> Pin<Box<dyn Future<Output = Result<bool, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
}
Expand description
Client implementation for the HandlesApi
RPC API.
Provided Methods§
Sourcefn get_handle_for_msa<'life0, 'async_trait>(
&'life0 self,
msa_id: MessageSourceId,
) -> Pin<Box<dyn Future<Output = Result<Option<HandleResponse>, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn get_handle_for_msa<'life0, 'async_trait>(
&'life0 self,
msa_id: MessageSourceId,
) -> Pin<Box<dyn Future<Output = Result<Option<HandleResponse>, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
retrieve HandleResponse
for a given MessageSourceId
Sourcefn get_next_suffixes<'life0, 'async_trait>(
&'life0 self,
base_handle: String,
count: Option<u16>,
) -> Pin<Box<dyn Future<Output = Result<PresumptiveSuffixesResponse, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn get_next_suffixes<'life0, 'async_trait>(
&'life0 self,
base_handle: String,
count: Option<u16>,
) -> Pin<Box<dyn Future<Output = Result<PresumptiveSuffixesResponse, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
retrieve next n
suffixes for a given handle
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.