diff --git a/src/signal.rs b/src/signal.rs index 7981be8f..b3504ca7 100644 --- a/src/signal.rs +++ b/src/signal.rs @@ -1177,10 +1177,12 @@ where /// /// - `fork.by_rc()`: consumes self and shares the fork via `Rc`. /// - `fork.by_ref()`: borrows self and shares the fork via `&RefCell`. +#[derive(Clone)] pub struct Fork { shared: RefCell>, } +#[derive(Clone)] struct ForkShared { signal: S, ring_buffer: ring_buffer::Bounded,