Skip to main content

KeptByLeanForAllThreads

Trait KeptByLeanForAllThreads 

Source
pub trait KeptByLeanForAllThreads { }
Expand description

A type whose values Lean may keep in a constant that every thread reads: one that is Sync.

The trait and the function below exist for their names, which are what rustc shows when a type falls short: the type is not Sync, it has to be to implement this trait, and the bound is that of a function named after the reason.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§