pub trait AsyncSemigroup: Semigroup {
// Provided method
fn async_op(base: Self, other: Self) -> impl Future<Output = Self>
where Self: Sized + Send { ... }
}Available on crate feature
async only.Expand description
Async version of Semigroup.
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.