pub trait Ask: Messaging + Fork {
    // Provided method
    fn ask<Req>(
        &mut self,
        to: Address,
        make_request: impl FnOnce(Address) -> Req + Send,
    ) -> impl Future<Output = Result<Envelope, ErrorOf<AskErrorKind>>> + Send
       where Req: Message { ... }
}Provided Methods§
fn ask<Req>(
    &mut self,
    to: Address,
    make_request: impl FnOnce(Address) -> Req + Send,
) -> impl Future<Output = Result<Envelope, ErrorOf<AskErrorKind>>> + Sendwhere
    Req: Message,
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.