pub trait ComponentTransport {
// Required methods
fn observe(
&mut self,
plan: &ComponentPlanRecord,
) -> Result<ComponentObservation, ComponentOperationError>;
fn progress(
&mut self,
plan: &ComponentPlanRecord,
) -> Result<ComponentProgressObservation, ComponentOperationError>;
fn submit(
&mut self,
plan: &ComponentPlanRecord,
) -> Result<(), ComponentOperationError>;
}Expand description
Transport performs individual reads/commands; workflow owns ordering and retry.
Required Methods§
Sourcefn observe(
&mut self,
plan: &ComponentPlanRecord,
) -> Result<ComponentObservation, ComponentOperationError>
fn observe( &mut self, plan: &ComponentPlanRecord, ) -> Result<ComponentObservation, ComponentOperationError>
Read current release, placement, controller and available-pool authority.
Sourcefn progress(
&mut self,
plan: &ComponentPlanRecord,
) -> Result<ComponentProgressObservation, ComponentOperationError>
fn progress( &mut self, plan: &ComponentPlanRecord, ) -> Result<ComponentProgressObservation, ComponentOperationError>
Read this exact operation; only typed absence permits submission.
Sourcefn submit(
&mut self,
plan: &ComponentPlanRecord,
) -> Result<(), ComponentOperationError>
fn submit( &mut self, plan: &ComponentPlanRecord, ) -> Result<(), ComponentOperationError>
Submit the retained operation identity once.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".