pub struct PoetClient { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Transport for PoetClient
impl Transport for PoetClient
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 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 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,
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 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 register_element_kinds<'life0, 'life1, 'async_trait>(
&'life0 self,
element_kind: &'life1 [ElementKindRegistration],
) -> Pin<Box<dyn Future<Output = MuseResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for PoetClient
impl !RefUnwindSafe for PoetClient
impl Send for PoetClient
impl Sync for PoetClient
impl Unpin for PoetClient
impl !UnwindSafe for PoetClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more