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