pub trait EndhostApiSource:
Send
+ Sync
+ 'static {
// Required method
fn endhost_apis<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<EndhostApiGroup>, EndhostApiSourceError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Returns available Endhost APIs for the client to use
Endhost APIs are grouped into EndhostApiGroups.
The client should attempt to use the first Group
Required Methods§
Sourcefn endhost_apis<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<EndhostApiGroup>, EndhostApiSourceError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn endhost_apis<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<EndhostApiGroup>, EndhostApiSourceError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns the available Endhost APIs.