Struct httpbis::stream_part::HttpStreamPart [−][src]
pub struct HttpStreamPart { pub content: HttpStreamPartContent, pub last: bool, }
Stream frame content with END_STREAM flag
Fields
content: HttpStreamPartContent
last: bool
END_STREAM
Methods
impl HttpStreamPart
[src]
impl HttpStreamPart
pub fn last_headers(headers: Headers) -> Self
[src]
pub fn last_headers(headers: Headers) -> Self
pub fn intermediate_headers(headers: Headers) -> Self
[src]
pub fn intermediate_headers(headers: Headers) -> Self
pub fn intermediate_data(data: Bytes) -> Self
[src]
pub fn intermediate_data(data: Bytes) -> Self
pub fn last_data(data: Bytes) -> Self
[src]
pub fn last_data(data: Bytes) -> Self
Auto Trait Implementations
impl Send for HttpStreamPart
impl Send for HttpStreamPart
impl Sync for HttpStreamPart
impl Sync for HttpStreamPart