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

A data chunk of the given size, after which more chunks can follow.

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]

Formats the value using the given formatter.

impl PartialEq for StreamDataChunk
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Copy for StreamDataChunk
[src]

impl Clone for StreamDataChunk
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more