pub trait FutureSend<T>: Future<Output = T> + Send { }Expand description
A trait for Send-able futures with a generic output.
This trait is used for asynchronous operations that need to be sendable across threads, such as in the server’s request processing pipeline.
Implementors§
impl<T, O> FutureSend<O> for T
Blanket implementation of FutureSend for any type that satisfies the bounds.