pub unsafe trait Canary: Receive {
const LAYOUT: Self;
}Expand description
Fixed receive storage used by native capability canaries.
§Safety
LAYOUT has two slots, each large enough for a libc::c_int.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".