pub trait IntoCowPath<'a> {
// Required method
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§
Sourcefn into_cow_path(self) -> Cow<'a, Path>
fn into_cow_path(self) -> Cow<'a, Path>
Self-explanatory, hopefully