Skip to main content

IsRawMutex

Trait IsRawMutex 

Source
pub trait IsRawMutex: Sealed { }
Expand description

Helper trait to restrict SlabAllocator lock to RawMutex. TODO(https://fxbug.dev/541903019): Support generic mutex types.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl IsRawMutex for RawMutex

Implementors§