Enum solicit::http::session::StreamDataChunk [−][src]
The enum represents the successful completion of the Stream::get_data_chunk method.
Variants
Chunk(usize)A data chunk of the given size, after which more chunks can follow.
Last(usize)The chunk was the last one that the stream will ever write.
No data currently available, but the stream isn't closed yet
Trait Implementations
impl Clone for StreamDataChunk[src]
impl Clone for StreamDataChunkfn clone(&self) -> StreamDataChunk[src]
fn clone(&self) -> StreamDataChunkReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for StreamDataChunk[src]
impl Copy for StreamDataChunkimpl PartialEq for StreamDataChunk[src]
impl PartialEq for StreamDataChunkfn eq(&self, other: &StreamDataChunk) -> bool[src]
fn eq(&self, other: &StreamDataChunk) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &StreamDataChunk) -> bool[src]
fn ne(&self, other: &StreamDataChunk) -> boolThis method tests for !=.
impl Debug for StreamDataChunk[src]
impl Debug for StreamDataChunkAuto Trait Implementations
impl Send for StreamDataChunk
impl Send for StreamDataChunkimpl Sync for StreamDataChunk
impl Sync for StreamDataChunk