Skip to main content

ReadOnlyEffect

Trait ReadOnlyEffect 

Source
pub trait ReadOnlyEffect: TypedEffect { }
Expand description

Marker: reads external state but writes nothing (wire class Effect::ReadOnly).

Re-execution is safe but not necessarily equivalent — the world may have changed — so exact replay serves the journaled value while live replay re-reads. Retries are unconstrained, which is why there is no admission helper for this class: nothing needs gating.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§