pub trait DeployCrateWrapper {
// Required method
fn underlying(&self) -> Arc<RwLock<RustCrateService>>;
// Provided methods
async fn stdout(&self) -> UnboundedReceiver<String> { ... }
async fn stderr(&self) -> UnboundedReceiver<String> { ... }
async fn stdout_filter(
&self,
prefix: impl Into<String>,
) -> UnboundedReceiver<String> { ... }
async fn stderr_filter(
&self,
prefix: impl Into<String>,
) -> UnboundedReceiver<String> { ... }
async fn tracing_results(&self) -> Option<TracingResults> { ... }
}
Available on crate features
build
and deploy
only.Required Methods§
fn underlying(&self) -> Arc<RwLock<RustCrateService>>
Provided Methods§
async fn stdout(&self) -> UnboundedReceiver<String>
async fn stderr(&self) -> UnboundedReceiver<String>
async fn stdout_filter( &self, prefix: impl Into<String>, ) -> UnboundedReceiver<String>
async fn stderr_filter( &self, prefix: impl Into<String>, ) -> UnboundedReceiver<String>
async fn tracing_results(&self) -> Option<TracingResults>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.