pub trait ProviderManager: Send + Sync {
// Required methods
fn put_link<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
link: &'life1 InterfaceLinkDefinition,
target: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn delete_link<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
link: &'life1 InterfaceLinkDefinition,
target: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}Expand description
A trait for sending and receiving messages to/from a provider
Required Methods§
Sourcefn put_link<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
link: &'life1 InterfaceLinkDefinition,
target: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn put_link<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
link: &'life1 InterfaceLinkDefinition,
target: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Put a link to the provider
Sourcefn delete_link<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
link: &'life1 InterfaceLinkDefinition,
target: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn delete_link<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
link: &'life1 InterfaceLinkDefinition,
target: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Delete a link from the provider