Skip to main content

Transport

Trait Transport 

Source
pub trait Transport {
    // Required method
    fn ship(
        &self,
        source: &Path,
        reporter: &dyn Reporter,
    ) -> Result<(), DeployError>;
}
Expand description

Ships a source tree to its deploy target.

Required Methods§

Source

fn ship( &self, source: &Path, reporter: &dyn Reporter, ) -> Result<(), DeployError>

Transfer source to the target, reporting progress via reporter.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§