Skip to main content

Canary

Trait Canary 

Source
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§

Source

const LAYOUT: Self

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§