pub trait Register {
// Required method
unsafe fn register(&mut self, source: Source<'_>) -> Result<(), Error>;
}Expand description
Arms a shutdown source owned outside the native engine.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".