ih_muse_core::preludeTrait Transport
Source pub trait Transport {
// Required methods
fn health_check<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = MuseResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_node_state<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = MuseResult<NodeState>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_finest_resolution<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = MuseResult<TimestampResolution>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn register_element_kinds<'life0, 'life1, 'async_trait>(
&'life0 self,
element_kinds: &'life1 [ElementKindRegistration],
) -> Pin<Box<dyn Future<Output = MuseResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn register_elements<'life0, 'life1, 'async_trait>(
&'life0 self,
elements: &'life1 [ElementRegistration],
) -> Pin<Box<dyn Future<Output = MuseResult<Vec<MuseResult<ElementId>>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_node_elem_ranges<'life0, 'async_trait>(
&'life0 self,
ini: Option<u64>,
end: Option<u64>,
) -> Pin<Box<dyn Future<Output = MuseResult<Vec<NodeElementRange>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn register_metrics<'life0, 'life1, 'async_trait>(
&'life0 self,
payload: &'life1 [MetricDefinition],
) -> Pin<Box<dyn Future<Output = MuseResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_metric_order<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = MuseResult<Vec<MetricDefinition>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_metrics<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 MetricQuery,
node_addr: Option<SocketAddr>,
) -> Pin<Box<dyn Future<Output = MuseResult<Vec<MetricPayload>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn send_metrics<'life0, 'async_trait>(
&'life0 self,
payload: Vec<MetricPayload>,
node_addr: Option<SocketAddr>,
) -> Pin<Box<dyn Future<Output = MuseResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}