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

pub trait IntoCowPath<'a> {
    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

Self-explanatory, hopefully

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]

Implementors