Trait tea_sdk::actorx::actor::ActorSendDyn
pub trait ActorSendDyn: Send + Sync + 'static {
// Required methods
fn invoke<'a>(
&'a self,
req: &'a [u8]
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, Global>> + Send + 'a>>;
fn metadata(
&self
) -> Pin<Box<dyn Future<Output = Result<Arc<Metadata>, Global>> + Send + '_>>;
fn size(
&self
) -> Pin<Box<dyn Future<Output = Result<u64, Global>> + Send + '_>>;
fn instance_count(
&self
) -> Pin<Box<dyn Future<Output = Result<u8, Global>> + Send + '_>>;
fn id(&self) -> Option<ActorId>;
}