Skip to main content

NoAtomic

Trait NoAtomic 

Source
pub trait NoAtomic: Sealed { }
Expand description

Marker trait for locations that are not inside an Atomic context.

This trait is implemented by top-level locations (Process, Cluster) and by Tick. It is used to constrain APIs that should not be called from within an atomic block.

Implementors§

Source§

impl<'a, L> NoAtomic for Tick<L>
where L: Location<'a>,

Source§

impl<T> NoAtomic for Cluster<'_, T>

Source§

impl<T> NoAtomic for Process<'_, T>