Trait TryResultThreadSpawner

Source
pub trait TryResultThreadSpawner<O>: TryThreadSpawner<O>
where Self::ThreadHandle: TryJoinableHandle<Output = O>, O: Send + 'static,
{ }
Expand description

Named version of TryThreadSpawner where the handle is a TryJoinableHandle. Auto implemented.

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§

Source§

impl<T, O> TryResultThreadSpawner<O> for T
where T: TryThreadSpawner<O>, T::ThreadHandle: TryJoinableHandle<Output = O>, O: Send + 'static,