pub trait LogEntry: Clone + Debug + Send + Sync + Unpin + 'static where
Self: Serialize,
for<'de> Self: Deserialize<'de>, {
type Id: Identifier;
fn id(&self) -> Self::Id;
}
Expand description
Appended to the shared log and applied to the shared State
.
Required Associated Types
type Id: Identifier
type Id: Identifier
Log entry ID type.