Skip to content
Snippets Groups Projects
Unverified Commit 16896a64 authored by zjb0807's avatar zjb0807 Committed by GitHub
Browse files

add Happened (#317)

parent c5da5197
Branches
Tags
No related merge requests found
......@@ -63,3 +63,8 @@ pub struct TimestampedValue<Value: Ord + PartialOrd, Moment> {
pub value: Value,
pub timestamp: Moment,
}
#[impl_trait_for_tuples::impl_for_tuples(30)]
pub trait Happened<T> {
fn happened(t: &T);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment