[][src]Trait qiniu_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

fn into_cow_path(self) -> Cow<'a, Path>

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...