Home
last modified time | relevance | path

Searched refs:Owned (Results 1 – 4 of 4) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/common/
Dmix.rs28 Owned { bytes: Vec<u8>, index: usize }, enumerator
40 MixFrom::Owned { in new()
55 MixFrom::Owned { bytes, index: _ } => bytes.is_empty(), in is_empty()
62 *self = MixFrom::Owned { bytes, index: 0 }; in set_owned()
84 if let MixFrom::Owned { bytes, index } = self { in owned_encode()
124 Self::Owned { bytes, index } => f in fmt()
146 Self::Owned { in eq()
150 Self::Owned { in eq()
182 MixFrom::Owned { bytes: _, index: _ } => self.owned_encode(buf), in data()
203 MixFrom::Owned { bytes: _, index: _ } => Poll::Ready(self.owned_encode(buf)), in poll_data()
Dpart.rs128 if let MixFrom::Owned { bytes, index: _ } = &mut self.body { in body_extend_from_slice()
135 if let MixFrom::Owned { bytes, index: _ } = &mut self.body { in body_truncate()
142 if let MixFrom::Owned { bytes, index: _ } = &mut self.body { in body_trim_crlf_once()
185 MixFrom::Owned { bytes, index: _ } => Some(bytes), in body()
193 MixFrom::Owned { bytes, index: _ } => Some(bytes), in body_mut()
201 MixFrom::Owned { bytes, index: _ } => Some(take(bytes)), in body_once()
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/
Derror.rs87 Cow::Owned(data.to_string()) in get()
112 Cow::Owned(data.to_string()) in get()
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/
Dctx.rs69 type Owned = SslContext; typedef
71 fn to_owned(&self) -> Self::Owned { in to_owned() argument