Trait MaybeSendFuture

Source
pub trait MaybeSendFuture: Future + MaybeSend { }
Expand description

A trait representing futures that may or may not require Send.

This trait combines Future with MaybeSend, providing a convenient bound for async functions that may or may not require Send based on the feature flags.

Implementors§

Source§

impl<F> MaybeSendFuture for F
where F: Future + MaybeSend,