pub trait OptionHandle<T>{
// Required methods
async fn is_some(&self) -> bool;
async fn is_none(&self) -> bool;
}Expand description
An implementation of the ActorOption extension trait for for the standard Option.
This extension trait is made available on the handle through the actify macro.
Within the actor these methods are invoken, which in turn just extend the functionality provides by the std library.
Required 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.