Home
last modified time | relevance | path

Searched defs:Header (Results 1 – 11 of 11) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/
Dtable.rs29 pub(crate) fn search_header_name(&self, index: usize) -> Option<Header> { in search_header_name()
38 pub(crate) fn search_header(&self, index: usize) -> Option<(Header, String)> { in search_header()
47 pub(crate) fn index(&self, header: &Header, value: &str) -> Option<TableIndex> { in index()
62 Header(usize), enumerator
115 pub(crate) fn header_name(&self, index: usize) -> Option<Header> { in header_name()
120 pub(crate) fn header(&self, index: usize) -> Option<(Header, String)> { in header()
125 pub(crate) fn update(&mut self, header: Header, value: String) { in update()
152 fn index(&self, header: &Header, value: &str) -> Option<TableIndex> { in index()
241 fn header_name(index: usize) -> Option<Header> { in header_name()
300 fn header(index: usize) -> Option<(Header, String)> { in header()
[all …]
Ddecoder.rs166 fn check_header_list_size(&mut self, key: &Header, value: &String) -> Result<(), H2Error> { in check_header_list_size()
184 ) -> Result<(Header, String), H2Error> { in get_header_by_name_and_value()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/
Draw.rs53 pub(crate) struct Header { struct
60 pub(crate) ptr: NonNull<Header>, argument
68 pub(crate) fn header(&self) -> &Header { in header()
251 unsafe fn schedule<T, S>(ptr: NonNull<Header>, flag: bool) in schedule()
264 unsafe fn get_result<T, S>(ptr: NonNull<Header>, res: *mut ()) in get_result()
283 unsafe fn set_waker<T, S>(ptr: NonNull<Header>, cur_state: usize, waker: *const ()) -> bool in set_waker()
418 pub(crate) fn header(&self) -> &Header { in header()
Dwaker.rs23 unsafe fn get_header_by_raw_ptr(ptr: *const ()) -> NonNull<Header> { in get_header_by_raw_ptr()
37 let header = ptr as *const Header; in clone() constant
Dtask_handle.rs45 fn header(&self) -> &Header { in header()
/commonlibrary/rust/ylong_http/ylong_http/src/
Dheaders.rs78 pub struct Header { struct
79 name: HeaderName, argument
80 value: HeaderValue, argument
83 impl Header { impl
159 impl<N, V> TryFrom<(N, V)> for Header implementation
/commonlibrary/rust/ylong_http/ylong_http/src/h2/
Dparts.rs48 pub(crate) fn update(&mut self, headers: Header, value: String) { in update()
Ddecoder.rs188 Header, enumerator
/commonlibrary/rust/ylong_http/ylong_http/src/h1/response/
Ddecoder.rs103 Header(HeaderStage), enumerator
/commonlibrary/rust/ylong_http/ylong_http/src/h1/request/
Dencoder.rs145 Header, enumerator
/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/representation/
Dencoder.rs176 fn next(&mut self) -> Option<(Header, String)> { in next()