pub trait DeadUffdChecker {
    // Required methods
    fn register(&self, uffd: &Userfaultfd) -> Result<()>;
    fn is_dead(&self, uffd: &Userfaultfd) -> bool;
    fn reset(&self) -> Result<()>;
}
Expand description

Check whether the process for the Userfaultfd is dead or not.

Required Methods§

source

fn register(&self, uffd: &Userfaultfd) -> Result<()>

Register the Userfaultfd

source

fn is_dead(&self, uffd: &Userfaultfd) -> bool

Check whether the Userfaultfd is dead or not.

source

fn reset(&self) -> Result<()>

Free the internal state.

Implementors§