Trait linera_sdk::linera_base_types::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§

source

type Query: Serialize + DeserializeOwned + Send + Sync + Debug + 'static

The type of a query receivable by the application’s service.

source

type QueryResponse: Serialize + DeserializeOwned + Send + Sync + Debug + 'static

The response type of the application’s service.

Implementors§