Skip to main content

DownloadLocation

Trait DownloadLocation 

Source
pub trait DownloadLocation: Send + 'static {
    // Required method
    fn fmt_location(&self, f: &mut Formatter<'_>) -> Result;
}
Expand description

Renders a transfer destination for log lines.

Implemented by location types used with Outcome, such as local paths and S3 object locations.

Required Methods§

Source

fn fmt_location(&self, f: &mut Formatter<'_>) -> Result

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl DownloadLocation for PathBuf

Source§

fn fmt_location(&self, f: &mut Formatter<'_>) -> Result

Source§

impl DownloadLocation for String

Source§

fn fmt_location(&self, f: &mut Formatter<'_>) -> Result

Implementors§