Trait DeployCrateWrapper

Source
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§

Source

fn underlying(&self) -> Arc<RwLock<RustCrateService>>

Provided Methods§

Source

async fn stdout(&self) -> UnboundedReceiver<String>

Source

async fn stderr(&self) -> UnboundedReceiver<String>

Source

async fn stdout_filter( &self, prefix: impl Into<String>, ) -> UnboundedReceiver<String>

Source

async fn stderr_filter( &self, prefix: impl Into<String>, ) -> UnboundedReceiver<String>

Source

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.

Implementors§