Enum multipart::server::save::SavedData [−][src]
Expand description
A saved field’s data container (in memory or on disk)
Variants
Text(String)
Validated UTF-8 text data.
Binary data.
A path to a file on the filesystem and its size as written by multipart
.
Implementations
impl SavedData
[src]
impl SavedData
[src]pub fn readable(&self) -> Result<DataReader<'_>>
[src]
pub fn readable(&self) -> Result<DataReader<'_>>
[src]Get an adapter for this data which implements Read
.
If the data is in a file, the file is opened in read-only mode.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SavedData
impl Send for SavedData
impl Sync for SavedData
impl Unpin for SavedData
impl UnwindSafe for SavedData
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DebugAny for T where
T: Any + Debug,
T: Any + Debug,
impl<T> UnsafeAny for T where
T: Any,
T: Any,