pub trait GeneratedLiveQuery {
type Update;
// Required methods
fn live_operation(
self,
) -> Result<ApplicationReactiveOperation, ApplicationClientError>;
fn decode_update(
update: ApplicationLiveQueryUpdate,
) -> Result<Self::Update, ApplicationClientError>;
}Expand description
One exact generated live named-query watch and closed update decoder.
Required Associated Types§
Required Methods§
Sourcefn live_operation(
self,
) -> Result<ApplicationReactiveOperation, ApplicationClientError>
fn live_operation( self, ) -> Result<ApplicationReactiveOperation, ApplicationClientError>
Constructs the exact immutable watch operation.
Sourcefn decode_update(
update: ApplicationLiveQueryUpdate,
) -> Result<Self::Update, ApplicationClientError>
fn decode_update( update: ApplicationLiveQueryUpdate, ) -> Result<Self::Update, ApplicationClientError>
Decodes one structurally checked application-safe update.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".