Home
last modified time | relevance | path

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

12345678910>>...17

/third_party/rust/crates/autocfg/src/
Derror.rs9 pub struct Error { struct
10 kind: ErrorKind, argument
13 impl error::Error for Error { implementation
18 fn cause(&self) -> Option<&error::Error> { in cause()
28 impl fmt::Display for Error { implementation
29 fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { in fmt() method
47 pub fn from_io(e: io::Error) -> Error { in from_io()
53 pub fn from_num(e: num::ParseIntError) -> Error { in from_num()
59 pub fn from_utf8(e: str::Utf8Error) -> Error { in from_utf8()
65 pub fn from_str(s: &'static str) -> Error { in from_str()
/third_party/rust/crates/log/src/kv/
Derror.rs5 pub struct Error { struct
14 Value(value_bag::Error), argument
18 impl Error { implementation
34 pub(super) fn into_value(self) -> value_bag::Error { in into_value()
45 impl fmt::Display for Error { implementation
58 impl From<fmt::Error> for Error { implementation
71 impl Error { implementation
83 impl error::Error for Error {} implementation
85 impl From<io::Error> for Error { implementation
Dvalue.rs311 pub fn visit(&self, visitor: impl Visit<'v>) -> Result<(), Error> { in visit() argument
318 fn visit_any(&mut self, value: ValueBag) -> Result<(), value_bag::Error> { in visit()
324 fn visit_u64(&mut self, value: u64) -> Result<(), value_bag::Error> { in visit()
328 fn visit_i64(&mut self, value: i64) -> Result<(), value_bag::Error> { in visit()
332 fn visit_u128(&mut self, value: u128) -> Result<(), value_bag::Error> { in visit()
336 fn visit_i128(&mut self, value: i128) -> Result<(), value_bag::Error> { in visit()
340 fn visit_f64(&mut self, value: f64) -> Result<(), value_bag::Error> { in visit()
344 fn visit_bool(&mut self, value: bool) -> Result<(), value_bag::Error> { in visit()
348 fn visit_str(&mut self, value: &str) -> Result<(), value_bag::Error> { in visit()
352 fn visit_borrowed_str(&mut self, value: &'v str) -> Result<(), value_bag::Error> { in visit()
[all …]
/third_party/nghttp2/src/
Dquic.h41 struct Error { struct
42 Error(ErrorType type, uint64_t code) : type(type), code(code) {} in Error() argument
43 Error() : type(ErrorType::Transport), code(0) {} in Error() argument
45 ErrorType type; argument
49 Error err_transport(int liberr); argument
/third_party/rust/crates/serde/serde_test/src/
Dser.rs80 type Error = Error; typedef
90 fn serialize_bool(self, v: bool) -> Result<(), Error> { in serialize_bool() argument
95 fn serialize_i8(self, v: i8) -> Result<(), Error> { in serialize_i8() argument
100 fn serialize_i16(self, v: i16) -> Result<(), Error> { in serialize_i16() argument
105 fn serialize_i32(self, v: i32) -> Result<(), Error> { in serialize_i32() argument
110 fn serialize_i64(self, v: i64) -> Result<(), Error> { in serialize_i64() argument
115 fn serialize_u8(self, v: u8) -> Result<(), Error> { in serialize_u8() argument
120 fn serialize_u16(self, v: u16) -> Result<(), Error> { in serialize_u16() argument
125 fn serialize_u32(self, v: u32) -> Result<(), Error> { in serialize_u32() argument
130 fn serialize_u64(self, v: u64) -> Result<(), Error> { in serialize_u64() argument
[all …]
Derror.rs7 pub struct Error { struct
11 impl ser::Error for Error { implementation
19 impl de::Error for Error { implementation
27 impl fmt::Display for Error { implementation
33 impl error::Error for Error { implementation
39 impl PartialEq<str> for Error { implementation
/third_party/rust/crates/aho-corasick/src/
Derror.rs10 pub struct Error { struct
11 kind: ErrorKind, argument
39 impl Error { impl
45 pub(crate) fn state_id_overflow(max: usize) -> Error { in state_id_overflow()
52 ) -> Error { in premultiply_overflow()
57 impl error::Error for Error { implementation
70 impl fmt::Display for Error { implementation
/third_party/rust/crates/serde/serde/src/ser/
Dmod.rs139 pub trait Error: Sized $(+ $($supertrait)::+)* { trait
343 type Error: Error; typedef
403 fn serialize_bool(self, v: bool) -> Result<Self::Ok, Self::Error>; in serialize_bool()
425 fn serialize_i8(self, v: i8) -> Result<Self::Ok, Self::Error>; in serialize_i8()
447 fn serialize_i16(self, v: i16) -> Result<Self::Ok, Self::Error>; in serialize_i16()
469 fn serialize_i32(self, v: i32) -> Result<Self::Ok, Self::Error>; in serialize_i32()
487 fn serialize_i64(self, v: i64) -> Result<Self::Ok, Self::Error>; in serialize_i64()
535 fn serialize_u8(self, v: u8) -> Result<Self::Ok, Self::Error>; in serialize_u8()
557 fn serialize_u16(self, v: u16) -> Result<Self::Ok, Self::Error>; in serialize_u16()
579 fn serialize_u32(self, v: u32) -> Result<Self::Ok, Self::Error>; in serialize_u32()
[all …]
Dimpossible.rs73 type Error = Error; typedef
83 fn end(self) -> Result<Ok, Error> { in end() argument
93 type Error = Error; typedef
103 fn end(self) -> Result<Ok, Error> { in end() argument
113 type Error = Error; typedef
123 fn end(self) -> Result<Ok, Error> { in end() argument
133 type Error = Error; typedef
143 fn end(self) -> Result<Ok, Error> { in end() argument
153 type Error = Error; typedef
171 fn end(self) -> Result<Ok, Error> { in end() argument
[all …]
/third_party/rust/crates/rust-openssl/openssl/src/
Derror.rs61 pub fn errors(&self) -> &[Error] { in errors()
86 impl From<ErrorStack> for io::Error { implementation
87 fn from(e: ErrorStack) -> io::Error { in from()
92 impl From<ErrorStack> for fmt::Error { implementation
93 fn from(_: ErrorStack) -> fmt::Error { in from()
100 pub struct Error { struct
108 unsafe impl Sync for Error {} argument
109 unsafe impl Send for Error {} implementation
111 impl Error { implementation
290 impl fmt::Debug for Error { implementation
[all …]
/third_party/rust/crates/regex/regex-capi/src/
Derror.rs10 pub struct Error { struct
12 kind: ErrorKind, argument
19 Regex(regex::Error), argument
23 impl Error { implementation
24 pub fn new(kind: ErrorKind) -> Error { in new()
38 impl fmt::Display for Error { implementation
/third_party/rust/crates/rust-openssl/openssl/src/ssl/
Derror.rs59 pub struct Error { struct
60 pub(crate) code: ErrorCode, argument
61 pub(crate) cause: Option<InnerError>, argument
64 impl Error { implementation
69 pub fn io_error(&self) -> Option<&io::Error> { in io_error()
76 pub fn into_io_error(self) -> Result<io::Error, Error> { in into_io_error() argument
91 impl From<ErrorStack> for Error { implementation
92 fn from(e: ErrorStack) -> Error { in from()
100 impl fmt::Display for Error { implementation
125 impl error::Error for Error { implementation
/third_party/rust/crates/syn/src/
Derror.rs85 pub struct Error { struct
86 messages: Vec<ErrorMessage>, argument
105 impl Error { impl
139 fn new(span: Span, message: String) -> Error { in new()
167 fn new_spanned(tokens: TokenStream, message: String) -> Error { in new_spanned()
250 pub fn combine(&mut self, another: Error) { in combine()
288 pub fn new_at<T: Display>(scope: Span, cursor: Cursor, message: T) -> Error { in new_at()
298 pub fn new2<T: Display>(start: Span, end: Span, message: T) -> Error { in new2()
301 fn new2(start: Span, end: Span, message: String) -> Error { in new2()
312 impl Debug for Error { implementation
[all …]
/third_party/rust/crates/cxx/gen/lib/src/
Derror.rs8 pub struct Error { struct
9 pub(crate) err: crate::gen::Error, argument
12 impl From<crate::gen::Error> for Error { implementation
18 impl Display for Error { implementation
24 impl Debug for Error { implementation
30 impl StdError for Error { implementation
/third_party/rust/crates/codespan/codespan-reporting/src/
Dfiles.rs31 pub enum Error { enum
46 impl From<std::io::Error> for Error { implementation
47 fn from(err: std::io::Error) -> Error { in from()
52 impl std::fmt::Display for Error { implementation
71 impl std::error::Error for Error { implementation
95 fn name(&'a self, id: Self::FileId) -> Result<Self::Name, Error>; in name() argument
98 fn source(&'a self, id: Self::FileId) -> Result<Self::Source, Error>; in source() argument
113 fn line_index(&'a self, id: Self::FileId, byte_index: usize) -> Result<usize, Error>; in line_index() argument
127 fn line_number(&'a self, id: Self::FileId, line_index: usize) -> Result<usize, Error> { in line_number() argument
146 ) -> Result<usize, Error> { in column_number() argument
[all …]
/third_party/rust/crates/signal-hook/signal-hook-mio/src/
Dlib.rs170 ) -> Result<(), Error> { in register() argument
179 ) -> Result<(), Error> { in reregister() argument
183 fn deregister(&mut self, registry: &Registry) -> Result<(), Error> { in deregister() argument
262 ) -> Result<(), Error> { in register() argument
271 ) -> Result<(), Error> { in reregister() argument
275 fn deregister(&mut self, registry: &Registry) -> Result<(), Error> { in deregister() argument
356 ) -> Result<(), Error> { in register() argument
366 ) -> Result<(), Error> { in reregister() argument
370 fn deregister(&self, poll: &Poll) -> Result<(), Error> { in deregister() argument
/third_party/rust/crates/tracing/tracing-flame/src/
Derror.rs6 pub struct Error(pub(crate) Kind); struct
8 impl Error { impl
24 impl fmt::Display for Error { implementation
30 impl std::error::Error for Error { implementation
/third_party/rust/crates/serde/serde/src/private/
Dser.rs88 fn bad_type(self, what: Unsupported) -> S::Error { in bad_type()
101 type Error = S::Error; typedef
119 fn serialize_bool(self, _: bool) -> Result<Self::Ok, Self::Error> { in serialize_bool()
123 fn serialize_i8(self, _: i8) -> Result<Self::Ok, Self::Error> { in serialize_i8()
127 fn serialize_i16(self, _: i16) -> Result<Self::Ok, Self::Error> { in serialize_i16()
131 fn serialize_i32(self, _: i32) -> Result<Self::Ok, Self::Error> { in serialize_i32()
135 fn serialize_i64(self, _: i64) -> Result<Self::Ok, Self::Error> { in serialize_i64()
139 fn serialize_u8(self, _: u8) -> Result<Self::Ok, Self::Error> { in serialize_u8()
143 fn serialize_u16(self, _: u16) -> Result<Self::Ok, Self::Error> { in serialize_u16()
147 fn serialize_u32(self, _: u32) -> Result<Self::Ok, Self::Error> { in serialize_u32()
[all …]
Ddoc.rs9 pub struct Error; struct
11 impl ser::Error for Error { implementation
21 impl error::Error for Error { implementation
27 impl Display for Error { implementation
/third_party/spirv-tools/utils/vscode/src/lsp/jsonrpc2/
Dwire.go71 Error *Error `json:"error,omitempty"` member
77 type Error struct { struct
79 Code int64 `json:"code"`
81 Message string `json:"message"`
83 Data *json.RawMessage `json:"data"`
100 func (err *Error) Error() string { argument
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/jsonrpc2/
Dwire.go71 Error *Error `json:"error,omitempty"` member
77 type Error struct { struct
79 Code int64 `json:"code"`
81 Message string `json:"message"`
83 Data *json.RawMessage `json:"data"`
100 func (err *Error) Error() string { argument
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/jsonrpc2/
Dwire.go71 Error *Error `json:"error,omitempty"` member
77 type Error struct { struct
79 Code int64 `json:"code"`
81 Message string `json:"message"`
83 Data *json.RawMessage `json:"data"`
100 func (err *Error) Error() string { argument
/third_party/rust/crates/cxx/gen/src/
Derror.rs19 pub(crate) enum Error { enum
26 impl Display for Error { implementation
37 impl StdError for Error { implementation
48 impl From<fs::Error> for Error { implementation
54 impl From<syn::Error> for Error { implementation
60 pub(super) fn format_err(path: &Path, source: &str, error: Error) -> ! { in format_err()
105 fn sort_syn_errors(error: syn::Error) -> Vec<syn::Error> { in sort_syn_errors()
114 fn display_syn_error(stderr: &mut dyn WriteColor, path: &Path, source: &str, error: syn::Error) { in display_syn_error()
/third_party/rust/crates/regex/src/
Derror.rs6 pub enum Error { enum
21 impl ::std::error::Error for Error { implementation
33 impl fmt::Display for Error { implementation
51 impl fmt::Debug for Error { implementation
/third_party/rust/crates/codespan/codespan-reporting/src/term/
Drenderer.rs144 ) -> Result<(), Error> { in render_header() argument
193 pub fn render_empty(&mut self) -> Result<(), Error> { in render_empty() argument
207 ) -> Result<(), Error> { in render_snippet_start() argument
238 ) -> Result<(), Error> { in render_snippet_source() argument
608 ) -> Result<(), Error> { in render_snippet_empty() argument
627 ) -> Result<(), Error> { in render_snippet_break() argument
645 ) -> Result<(), Error> { in render_snippet_note() argument
691 fn snippet_locus(&mut self, locus: &Locus) -> Result<(), Error> { in snippet_locus() argument
703 fn outer_gutter(&mut self, outer_padding: usize) -> Result<(), Error> { in outer_gutter() argument
713 ) -> Result<(), Error> { in outer_gutter_number() argument
[all …]

12345678910>>...17