Skip to content

trace: derive Serialize+Deserialize for Description #345

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 20, 2021
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
3 changes: 2 additions & 1 deletion src/trace/description.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
//! times at which data may possibly be sent.

use timely::{PartialOrder, progress::Antichain};
use serde::{Serialize, Deserialize};

/// Describes an interval of partially ordered times.
///
Expand All @@ -64,7 +65,7 @@ use timely::{PartialOrder, progress::Antichain};
/// frontier indicates a moment at which the times were observed. If `since` is strictly in
/// advance of `lower`, the contained times may be "advanced" to times which appear equivalent to
/// any time after `since`.
#[derive(Clone, Debug, Abomonation)]
#[derive(Clone, Debug, Abomonation, Serialize, Deserialize)]
pub struct Description<Time> {
/// lower frontier of contained updates.
lower: Antichain<Time>,
Expand Down