AsyncSemigroup

Trait AsyncSemigroup 

Source
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§

Source

fn async_op(base: Self, other: Self) -> impl Future<Output = Self>
where Self: Sized + Send,

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.

Implementors§