Skip to main content

CacheTalcLock

Type Alias CacheTalcLock 

Source
pub type CacheTalcLock = Talck<RawSpinlock, ErrOnOom>;
Expand description

Concrete Talck flavour used by the shared state-cache region.

spinning_top::RawSpinlock for serialisation (no lock_api direct dep needed downstream); ErrOnOom so OOM returns Err rather than attempting heap extension — callers hand talc its backing memory up front via Talc::claim.

Aliased Type§

pub struct CacheTalcLock { /* private fields */ }