Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions timely/src/scheduling/activate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ impl Activations {
}

/// A thread-safe handle to an `Activations`.
#[derive(Debug)]
#[derive(Clone, Debug)]
pub struct SyncActivations {
tx: Sender<Vec<usize>>,
thread: Thread,
Expand Down Expand Up @@ -218,7 +218,7 @@ impl SyncActivations {
}

/// A capability to activate a specific path.
#[derive(Debug)]
#[derive(Clone, Debug)]
pub struct Activator {
path: Vec<usize>,
queue: Rc<RefCell<Activations>>,
Expand Down Expand Up @@ -253,7 +253,7 @@ impl Activator {
}

/// A thread-safe version of `Activator`.
#[derive(Debug)]
#[derive(Clone, Debug)]
pub struct SyncActivator {
path: Vec<usize>,
queue: SyncActivations,
Expand Down Expand Up @@ -282,7 +282,7 @@ impl ArcWake for SyncActivator {

/// The error returned when activation fails across thread boundaries because
/// the receiving end has hung up.
#[derive(Debug)]
#[derive(Clone, Copy, Debug)]
pub struct SyncActivationError;

impl std::fmt::Display for SyncActivationError {
Expand All @@ -294,7 +294,7 @@ impl std::fmt::Display for SyncActivationError {
impl std::error::Error for SyncActivationError {}

/// A wrapper that unparks on drop.
#[derive(Debug)]
#[derive(Clone, Debug)]
pub struct ActivateOnDrop<T> {
wrapped: T,
address: Rc<Vec<usize>>,
Expand Down