Struct rouille::input::post::BufferedFile [−][src]
Expand description
Implementation of the DecodePostField
that puts the body of the file in memory.
Fields
data: Vec<u8>
The file’s data.
mime: String
The MIME type. Remember that this shouldn’t be blindly trusted.
filename: Option<String>
The name of the file, if known. Remember that this shouldn’t be blindly trusted.
Trait Implementations
Called when a field with the given name is found in the POST input. Read more
Called when a file with the given name is found in the POST input. Read more
When multiple fields with the same name are found in the client’s input, rouille will build an object for each of them and then merge them with this method. Read more
Auto Trait Implementations
impl RefUnwindSafe for BufferedFile
impl Send for BufferedFile
impl Sync for BufferedFile
impl Unpin for BufferedFile
impl UnwindSafe for BufferedFile
Blanket Implementations
Mutably borrows from an owned value. Read more