Skip to main content

FutureSendStatic

Trait FutureSendStatic 

Source
pub trait FutureSendStatic<T>:
    Future<Output = T>
    + Send
    + 'static { }
Expand description

A trait for futures that are sendable and have a static lifetime.

This marker trait simplifies generic bounds for asynchronous operations, ensuring that futures can be safely managed by the async runtime without lifetime issues.

Implementorsยง