pub trait AsyncTaskResult:
Any
+ Send
+ 'static {
// Required method
fn into_any(self: Box<Self>) -> Box<dyn Any>;
}Required Methods§
Implementations§
Source§impl dyn AsyncTaskResult
impl dyn AsyncTaskResult
pub fn downcast<T>(
self: Box<dyn AsyncTaskResult>,
) -> Result<Box<T>, Box<dyn Any>>where
T: AsyncTaskResult,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<T> AsyncTaskResult for T
Available on non-WebAssembly only.