pub trait Call: Action {
type Output;
// Required method
async fn send(
self,
target: ActorId,
) -> Result<impl Reply<Output = Self::Output>>;
// Provided method
async fn send_recv(self, target: ActorId) -> Result<Self::Output>
where Self: Sized { ... }
}Required Associated Types§
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.