pub struct Not;
A Unary operation that will concurrently resolve a Future and not its result.
Unary
Future
not
use futures::executor::block_on; use async_ops::Not; let a = async { 42 }; let result = async { async_ops::on(a).unary_op(Not).await }; assert_eq!(std::ops::Not::not(42), block_on(result));
The resulting type after applying the unary operation.
Do the unary operation on the given operand.
Gets the TypeId of self. Read more
TypeId
self
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Performs the conversion.
The type returned in the event of a conversion error.