[][src]Trait multipart::client::lazy::IntoCowPath

pub trait IntoCowPath<'a> {
    pub fn into_cow_path(self) -> Cow<'a, Path>;
}

Conversion trait necessary for Multipart::add_file() to accept borrowed or owned strings and borrowed or owned paths

Required methods

pub fn into_cow_path(self) -> Cow<'a, Path>[src]

Self-explanatory, hopefully

Loading content...

Implementations on Foreign Types

impl<'a> IntoCowPath<'a> for Cow<'a, Path>[src]

impl IntoCowPath<'static> for PathBuf[src]

impl<'a> IntoCowPath<'a> for &'a Path[src]

impl IntoCowPath<'static> for String[src]

impl<'a> IntoCowPath<'a> for &'a str[src]

Loading content...

Implementors

Loading content...