Trait swap::userfaultfd::DeadUffdChecker
source · 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§
sourcefn register(&self, uffd: &Userfaultfd) -> Result<()>
fn register(&self, uffd: &Userfaultfd) -> Result<()>
Register the Userfaultfd
sourcefn is_dead(&self, uffd: &Userfaultfd) -> bool
fn is_dead(&self, uffd: &Userfaultfd) -> bool
Check whether the Userfaultfd is dead or not.