Skip to main content

Fork

Trait Fork 

Source
pub trait Fork {
    type Store;
    type State;

    // Required method
    fn fork(&self) -> (Self::Store, Self::State);
}

Required Associated Types§

Required Methods§

Source

fn fork(&self) -> (Self::Store, Self::State)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§