[][src]Trait actix_raft::AppDataResponse

pub trait AppDataResponse: Clone + Debug + Send + Sync + Serialize + DeserializeOwned + 'static { }

A trait defining application specific response data.

The intention of this trait is that applications which are using this crate will be able to use their own concrete data types for returning response data from the storage layer when an entry is successfully applied to the state machine as part of a client request (this is not used during replication). This allows applications to seamlessly return application specific data from their storage layer, up through Raft, and back into their application for returning data to clients or other such uses.

Implementors

Loading content...