pub(crate) trait PackagePublisher {
type Error: StdError + Send + Sync + 'static;
// Required methods
async fn is_published(&self, unit: &Unit) -> Result<bool, Self::Error>;
async fn publish(&self, unit: &Unit, file: &Path) -> Result<(), Self::Error>;
}Expand description
Ecosystem package publication operations that are safe to retry.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".