Skip to main content

Threadsafe

Trait Threadsafe 

Source
pub trait Threadsafe:
    Send
    + Sync
    + 'static { }
Expand description

A trait for types that implement Send and Sync and are 'static. This is just a ‘wrapper’ for these implementations.

Implementors§

Source§

impl<T> Threadsafe for T
where T: Send + Sync + 'static,