arcon_state 0.2.1

State management features for Arcon
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::backend::serialization::fixed_bytes::FixedBytes;

pub trait Value: prost::Message + Default + Clone + 'static {}
impl<T> Value for T where T: prost::Message + Default + Clone + 'static {}

pub trait Key: prost::Message + Default + Clone + 'static {}
impl<T> Key for T where T: prost::Message + Default + Clone + 'static {}

pub trait Metakey: FixedBytes + Copy + Clone + Send + Sync + 'static {}
impl<T> Metakey for T where T: FixedBytes + Copy + Clone + Send + Sync + 'static {}