Struct mpart_async::MultipartStream
[−]
[src]
pub struct MultipartStream<S> { /* fields omitted */ }
Methods
impl<S> MultipartStream<S>
[src]
pub fn new<I: Into<String>>(
name: I,
filename: I,
content_type: I,
stream: S
) -> Self
[src]
name: I,
filename: I,
content_type: I,
stream: S
) -> Self
pub fn write_header(&self, boundary: &str) -> Bytes
[src]
Trait Implementations
Auto Trait Implementations
impl<S> Send for MultipartStream<S> where
S: Send,
S: Send,
impl<S> Sync for MultipartStream<S> where
S: Sync,
S: Sync,