pub struct UploadedFile { /* private fields */ }Expand description
An uploaded file fully buffered in memory as a single contiguous buffer.
UploadedFile holds all bytes in a single bytes::Bytes buffer after the
multipart field has been drained. Use BufferedUpload
instead when you need to write to storage via a chunked reader API
(e.g. BufferedUpload::into_reader).
Implementations§
Auto Trait Implementations§
impl !Freeze for UploadedFile
impl RefUnwindSafe for UploadedFile
impl Send for UploadedFile
impl Sync for UploadedFile
impl Unpin for UploadedFile
impl UnsafeUnpin for UploadedFile
impl UnwindSafe for UploadedFile
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