pub trait Fork {
    type Parent;

    // Required methods
    fn fork(&self) -> Self;
    fn new() -> Self;
    fn hoist(&self, outer: &mut Self::Parent);
}

Required Associated Types§

Required Methods§

source

fn fork(&self) -> Self

source

fn new() -> Self

source

fn hoist(&self, outer: &mut Self::Parent)

Object Safety§

This trait is not object safe.

Implementors§