Skip to main content
Module mime_multipart
script
0.2.0
Module mime_
multipart
Module Items
Re-exports
Modules
Structs
Enums
Functions
In crate script
script
Module
mime_
multipart
Copy item path
Source
Re-exports
§
pub use error::
Error
;
Modules
§
error
🔒
Structs
§
File
Part
A file that is to be inserted into a
multipart/*
or alternatively an uploaded file that was received as part of
multipart/*
parsing.
Part
A multipart part which is not a file (stored in memory)
Enums
§
Node
A multipart part which could be either a file, in memory, or another multipart container containing nested parts.
Functions
§
get_
multipart_
boundary
Get the
multipart/*
boundary string from
hyper::Headers
inner
🔒
read_
multipart_
body
Parse a MIME
multipart/*
from a
Read
able stream into a
Vec
of
Node
s, streaming files to disk and keeping the rest in memory. Recursive
multipart/*
parts will are parsed as well and returned within a
Node::Multipart
variant.