pub trait UserSignalHandler {
    // Required method
    unsafe fn handle(info: ExceptionInfo) -> Result<(), Error>;
}

Required Methods§

source

unsafe fn handle(info: ExceptionInfo) -> Result<(), Error>

§Safety

It’s expected handler calls syscalls to protect memory

Object Safety§

This trait is not object safe.

Implementors§