Home
last modified time | relevance | path

Searched defs:Error (Results 1 – 25 of 39) sorted by relevance

12

/commonlibrary/rust/ylong_http/ylong_http/src/body/
Dmod.rs100 type Error: Into<Box<dyn Error + Send + Sync>>; typedef
155 fn data(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error>; in data()
158 fn trailer(&mut self) -> Result<Option<Headers>, Self::Error> { in trailer()
164 type Error = std::io::Error; typedef
166 fn data(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error> { in data()
221 type Error: Into<Box<dyn Error + Send + Sync>>; typedef
230 ) -> Poll<Result<usize, Self::Error>>; in poll_data()
298 fn trailer(&mut self) -> Result<Option<Headers>, Self::Error> { in trailer()
334 ) -> Poll<Result<usize, std::io::Error>> { in poll_read()
349 type Error = std::io::Error; typedef
[all …]
Dempty.rs84 type Error = Infallible; typedef
86 fn data(&mut self, _buf: &mut [u8]) -> Result<usize, Self::Error> { in data()
92 type Error = Infallible; typedef
98 ) -> Poll<Result<usize, Self::Error>> { in poll_data()
Dtext.rs203 type Error = Error; typedef
205 fn data(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error> { in data()
211 type Error = Error; typedef
217 ) -> Poll<Result<usize, Self::Error>> { in poll_data()
223 type Error = Error; typedef
225 fn data(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error> { in data()
231 type Error = Error; typedef
237 ) -> Poll<Result<usize, Self::Error>> { in poll_data()
248 type Error = T::Error; typedef
254 ) -> Poll<Result<usize, Self::Error>> { in poll_data()
Dchunk.rs222 type Error = Infallible; typedef
224 fn data(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error> { in data()
239 type Error = Error; typedef
241 fn data(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error> { in data()
266 type Error = Error; typedef
272 ) -> Poll<Result<usize, Self::Error>> { in poll_data()
292 type Error = Error; typedef
298 ) -> Poll<Result<usize, Self::Error>> { in poll_data()
347 type Error = T::Error; typedef
353 ) -> Poll<Result<usize, Self::Error>> { in poll_data()
/commonlibrary/rust/ylong_http/ylong_http/src/request/
Duri.rs321 type Error = HttpError; typedef
323 fn try_from(s: &'a [u8]) -> Result<Self, Self::Error> { in try_from() argument
329 type Error = HttpError; typedef
331 fn try_from(s: &'a str) -> Result<Self, Self::Error> { in try_from() argument
385 InvalidUri: From<<Scheme as TryFrom<T>>::Error>, in scheme()
409 InvalidUri: From<<Authority as TryFrom<T>>::Error>, in authority()
432 InvalidUri: From<<Path as TryFrom<T>>::Error>, in path()
455 InvalidUri: From<<Query as TryFrom<T>>::Error>, in query()
565 type Error = InvalidUri; typedef
567 fn try_from(bytes: &'a [u8]) -> Result<Self, Self::Error> { in try_from() argument
[all …]
Dmethod.rs170 type Error = HttpError; typedef
172 fn try_from(t: &'a [u8]) -> Result<Self, Self::Error> { in try_from() argument
178 type Error = HttpError; typedef
180 fn try_from(t: &'a str) -> Result<Self, Self::Error> { in try_from() argument
/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/
Dconnector.rs26 type Error: Into<Box<dyn std::error::Error + Send + Sync>>; typedef
29 fn connect(&self, uri: &Uri) -> Result<Self::Stream, Self::Error>; in connect()
63 type Error = Error; typedef
65 fn connect(&self, uri: &Uri) -> Result<Self::Stream, Self::Error> { in connect()
88 type Error = HttpClientError; typedef
90 fn connect(&self, uri: &Uri) -> Result<Self::Stream, Self::Error> { in connect()
Dhttp_body.rs97 type Error = HttpClientError; typedef
99 fn data(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error> { in data()
111 fn trailer(&mut self) -> Result<Option<Headers>, Self::Error> { in trailer()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/
Dconnector.rs31 type Error: Into<Box<dyn Error + Sync + Send>>; typedef
84 type Error = Error; typedef
115 type Error = Error; typedef
177 ) -> Result<TcpStream, Error> { in tunnel() argument
220 fn other_io_error(msg: &str) -> Error { in other_io_error()
Dhttp_body.rs115 type Error = HttpClientError; typedef
121 ) -> Poll<Result<usize, Self::Error>> { in poll_data()
143 fn trailer(&mut self) -> Result<Option<Headers>, Self::Error> { in trailer()
/commonlibrary/rust/ylong_http/ylong_http/src/response/
Dstatus.rs215 type Error = HttpError; typedef
217 fn try_from(value: u16) -> Result<Self, Self::Error> { in try_from() argument
223 type Error = HttpError; typedef
225 fn try_from(value: &'a [u8]) -> Result<Self, Self::Error> { in try_from() argument
/commonlibrary/rust/ylong_http/ylong_http/src/
Dversion.rs69 type Error = HttpError; typedef
71 fn try_from(str: &'a str) -> Result<Self, Self::Error> { in try_from() argument
Dheaders.rs166 type Error = HttpError; typedef
168 fn try_from(pair: (N, V)) -> Result<Self, Self::Error> { in try_from() argument
258 type Error = HttpError; typedef
260 fn try_from(name: &str) -> Result<Self, Self::Error> { in try_from() argument
266 type Error = HttpError; typedef
268 fn try_from(bytes: &[u8]) -> Result<Self, Self::Error> { in try_from() argument
479 type Error = HttpError; typedef
481 fn try_from(value: &str) -> Result<Self, Self::Error> { in try_from() argument
497 type Error = HttpError; typedef
499 fn try_from(value: &[u8]) -> Result<Self, Self::Error> { in try_from() argument
/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/encode/
Dpart.rs170 type Error = std::io::Error; typedef
172 fn data(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error> { in data()
189 type Error = std::io::Error; typedef
195 ) -> Poll<Result<usize, Self::Error>> { in poll_data()
Dmulti.rs281 type Error = std::io::Error; typedef
283 fn data(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error> { in data()
309 type Error = std::io::Error; typedef
315 ) -> Poll<Result<usize, Self::Error>> { in poll_data()
/commonlibrary/rust/ylong_http/ylong_http/src/h2/
Derror.rs111 type Error = HttpError; typedef
112 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() argument
/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/common/
Dmix.rs174 type Error = std::io::Error; typedef
176 fn data(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error> { in data()
191 type Error = std::io::Error; typedef
197 ) -> Poll<Result<usize, Self::Error>> { in poll_data()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/uploader/
Dmod.rs130 type Error = HttpClientError; typedef
136 ) -> Poll<Result<usize, Self::Error>> { in poll_data()
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/
Derror.rs40 pub(crate) fn into_io_error(self) -> Result<io::Error, SslError> { in into_io_error()
47 pub(crate) fn get_io_error(&self) -> Option<&io::Error> { in get_io_error()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/io/
Dasync_write.rs155 ) -> Poll<Result<usize, io::Error>> { in poll_write()
163 ) -> Poll<Result<usize, io::Error>> { in poll_write_vectored()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/tcp/
Dlistener.rs188 pub fn take_error(&self) -> io::Result<Option<io::Error>> { in take_error()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/time/
Ddriver.rs75 pub(crate) fn timer_register(&self, clock_entry: NonNull<Clock>) -> Result<u64, Error> { in timer_register() argument
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
Ddriver.rs134 pub(crate) fn timer_register(&self, clock_entry: NonNull<Clock>) -> Result<u64, Error> { in timer_register() argument
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/linux/tcp/
Dlistener.rs137 pub fn take_error(&self) -> io::Result<Option<io::Error>> { in take_error()
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/tcp/
Dlistener.rs139 pub fn take_error(&self) -> io::Result<Option<io::Error>> { in take_error()

12