Trait swap::PrepareFork
source · pub trait PrepareFork {
// Required method
fn prepare_fork(&mut self) -> Result<SwapDeviceUffdSender>;
}
Expand description
Create a new SwapDeviceUffdSender which is passed to the forked child process.
Required Methods§
sourcefn prepare_fork(&mut self) -> Result<SwapDeviceUffdSender>
fn prepare_fork(&mut self) -> Result<SwapDeviceUffdSender>
Create a new SwapDeviceUffdSender.