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 StreamDataChunk
fn clone(&self) -> StreamDataChunk
[src]
fn clone(&self) -> StreamDataChunk
Returns 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 StreamDataChunk
impl PartialEq for StreamDataChunk
[src]
impl PartialEq for StreamDataChunk
fn eq(&self, other: &StreamDataChunk) -> bool
[src]
fn eq(&self, other: &StreamDataChunk) -> bool
This 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) -> bool
This method tests for !=
.
impl Debug for StreamDataChunk
[src]
impl Debug for StreamDataChunk
Auto Trait Implementations
impl Send for StreamDataChunk
impl Send for StreamDataChunk
impl Sync for StreamDataChunk
impl Sync for StreamDataChunk