Home
last modified time | relevance | path

Searched defs:ResponsePart (Results 1 – 2 of 2) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http/src/response/
Dmod.rs70 pub fn into_parts(self) -> (ResponsePart, T) { in into_parts()
75 pub fn from_raw_parts(part: ResponsePart, body: T) -> Response<T> { in from_raw_parts()
95 pub struct ResponsePart { struct
115 /// 1. Creates a `ResponsePart` by calling `ResponseDecoder::decode`. argument
/commonlibrary/rust/ylong_http/ylong_http/src/h1/response/
Ddecoder.rs214 ) -> Result<Option<(ResponsePart, &'a [u8])>, HttpError> { in decode()
229 ) -> Result<Option<(ResponsePart, &'a [u8])>, HttpError> { in version_phase()
253 ) -> Result<Option<(ResponsePart, &'a [u8])>, HttpError> { in status_code_phase()
274 ) -> Result<Option<(ResponsePart, &'a [u8])>, HttpError> { in reason_phase()
285 ) -> Result<Option<(ResponsePart, &'a [u8])>, HttpError> { in status_crlf_phase()
296 ) -> Result<Option<(ResponsePart, &'a [u8])>, HttpError> { in header_phase_with_init()
316 ) -> Result<Option<(ResponsePart, &'a [u8])>, HttpError> { in header_phase()
326 ) -> Result<Option<(ResponsePart, &'a [u8])>, HttpError> { in blank_line_phase()