Trait linera_sdk::abi::ServiceAbi
source · pub trait ServiceAbi {
type Query: Serialize + DeserializeOwned + Send + Sync + Debug + 'static;
type QueryResponse: Serialize + DeserializeOwned + Send + Sync + Debug + 'static;
}
Expand description
A trait that includes all the types exported by a Linera application service.
Required Associated Types§
sourcetype Query: Serialize + DeserializeOwned + Send + Sync + Debug + 'static
type Query: Serialize + DeserializeOwned + Send + Sync + Debug + 'static
The type of a query receivable by the application’s service.
sourcetype QueryResponse: Serialize + DeserializeOwned + Send + Sync + Debug + 'static
type QueryResponse: Serialize + DeserializeOwned + Send + Sync + Debug + 'static
The response type of the application’s service.