pub trait ChangeArtifactBundleClient: Debug + Clone {
// Required methods
fn pull_bundle(
&self,
change_id: &str,
) -> ChangeArtifactMutationServiceResult<ArtifactBundle>;
fn push_bundle(
&self,
change_id: &str,
bundle: &ArtifactBundle,
) -> ChangeArtifactMutationServiceResult<String>;
}Expand description
Client abstraction for bundle-backed artifact mutation services.
Required Methods§
Sourcefn pull_bundle(
&self,
change_id: &str,
) -> ChangeArtifactMutationServiceResult<ArtifactBundle>
fn pull_bundle( &self, change_id: &str, ) -> ChangeArtifactMutationServiceResult<ArtifactBundle>
Pull the latest artifact bundle for a change.
Sourcefn push_bundle(
&self,
change_id: &str,
bundle: &ArtifactBundle,
) -> ChangeArtifactMutationServiceResult<String>
fn push_bundle( &self, change_id: &str, bundle: &ArtifactBundle, ) -> ChangeArtifactMutationServiceResult<String>
Push an updated artifact bundle and return the resulting revision.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".