pub struct MultipartInputStreamBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct MultipartInputStream
objects.
Implementations§
Source§impl MultipartInputStreamBuilder
impl MultipartInputStreamBuilder
pub fn message(self, message: &Message) -> Self
pub fn base_stream(self, base_stream: &impl IsA<InputStream>) -> Self
pub fn close_base_stream(self, close_base_stream: bool) -> Self
Sourcepub fn build(self) -> MultipartInputStream
pub fn build(self) -> MultipartInputStream
Build the MultipartInputStream
.
Auto Trait Implementations§
impl Freeze for MultipartInputStreamBuilder
impl RefUnwindSafe for MultipartInputStreamBuilder
impl !Send for MultipartInputStreamBuilder
impl !Sync for MultipartInputStreamBuilder
impl Unpin for MultipartInputStreamBuilder
impl UnwindSafe for MultipartInputStreamBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more