pub trait Sentinel {
// Required method
fn sentinel() -> Self;
}Expand description
The zero value a C return slot carries when a call fails: 0, false,
0.0, or null. Implemented for every C return type a thunk can have,
() for void, and pairs and tuples of them (an async completion’s
result slots).
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".