pub trait LocalStatelessServiceInstance:
Send
+ Sync
+ 'static {
// Required methods
async fn open(
&self,
partition: &StatelessServicePartition,
cancellation_token: CancellationToken,
) -> Result<HSTRING>;
async fn close(&self, cancellation_token: CancellationToken) -> Result<()>;
fn abort(&self);
}
Required Methods§
async fn open( &self, partition: &StatelessServicePartition, cancellation_token: CancellationToken, ) -> Result<HSTRING>
async fn close(&self, cancellation_token: CancellationToken) -> Result<()>
fn abort(&self)
Object Safety§
This trait is not object safe.