pub struct Form { /* private fields */ }Expand description
A multipart/form-data form.
Implementations§
Source§impl Form
impl Form
Sourcepub fn into_body(self) -> Body
pub fn into_body(self) -> Body
Encodes the form.
Parts held in memory encode to bytes. Otherwise the form is a stream, with a known length when every part has
one, and sent again by a retry when every part can be (see Body::try_clone).
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Form
impl !UnwindSafe for Form
impl Forget for Form
impl Freeze for Form
impl Move for Form
impl Send for Form
impl Sync for Form
impl Unpin for Form
impl UnsafeUnpin for Form
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