pub trait LockLayout:
Send
+ Sync
+ 'static {
const STATE_KIND: u8;
const EVENT_RING_KIND: u8;
const EVENT_RING_SPEC: RingSpec;
}Expand description
Physical Orbit surfaces used by one lock domain.
Required Associated Constants§
Sourceconst STATE_KIND: u8
const STATE_KIND: u8
Kind used to name the current-state SHM object and mint lock ids.
Sourceconst EVENT_RING_KIND: u8
const EVENT_RING_KIND: u8
Kind used by the notified transition ring.
const EVENT_RING_SPEC: RingSpec
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".