Enum solicit::http::session::StreamDataChunk
[−]
[src]
pub enum StreamDataChunk { Chunk(usize), Last(usize), Unavailable, }
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 Debug for StreamDataChunk
[src]
impl PartialEq for StreamDataChunk
[src]
fn eq(&self, __arg_0: &StreamDataChunk) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StreamDataChunk) -> bool
This method tests for !=
.
impl Copy for StreamDataChunk
[src]
impl Clone for StreamDataChunk
[src]
fn clone(&self) -> StreamDataChunk
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more