Trait multipart::client::lazy::IntoCowPath [−][src]
pub trait IntoCowPath<'a> { fn into_cow_path(self) -> Cow<'a, Path>; }
Expand description
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>
[src]
fn into_cow_path(self) -> Cow<'a, Path>
[src]Self-explanatory, hopefully
Implementations on Foreign Types
impl<'a> IntoCowPath<'a> for Cow<'a, Path>
[src]
impl<'a> IntoCowPath<'a> for Cow<'a, Path>
[src]fn into_cow_path(self) -> Cow<'a, Path>
[src]
impl IntoCowPath<'static> for PathBuf
[src]
impl IntoCowPath<'static> for PathBuf
[src]fn into_cow_path(self) -> Cow<'static, Path>
[src]
impl<'a> IntoCowPath<'a> for &'a Path
[src]
impl<'a> IntoCowPath<'a> for &'a Path
[src]fn into_cow_path(self) -> Cow<'a, Path>
[src]
impl IntoCowPath<'static> for String
[src]
impl IntoCowPath<'static> for String
[src]fn into_cow_path(self) -> Cow<'static, Path>
[src]
impl<'a> IntoCowPath<'a> for &'a str
[src]
impl<'a> IntoCowPath<'a> for &'a str
[src]