pub trait ReadEntry: PrivReadEntry + Sized {
// Provided methods
fn read_entry(self) -> ReadEntryResult<Self> { ... }
fn read_entry_mut(&mut self) -> ReadEntryResult<&mut Self> { ... }
}
Expand description
Common trait for Multipart
and &mut Multipart
Provided Methods§
Sourcefn read_entry(self) -> ReadEntryResult<Self>
fn read_entry(self) -> ReadEntryResult<Self>
Attempt to read the next entry in the multipart stream.
Sourcefn read_entry_mut(&mut self) -> ReadEntryResult<&mut Self>
fn read_entry_mut(&mut self) -> ReadEntryResult<&mut Self>
Equivalent to read_entry()
but takes &mut self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.