Home
last modified time | relevance | path

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

12345678910>>...16

/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 { impl
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/src/ser/
Dmod.rs142 pub trait Error: Sized $(+ $($supertrait)::+)* { trait
345 type Error: Error; typedef
405 fn serialize_bool(self, v: bool) -> Result<Self::Ok, Self::Error>; in serialize_bool()
427 fn serialize_i8(self, v: i8) -> Result<Self::Ok, Self::Error>; in serialize_i8()
449 fn serialize_i16(self, v: i16) -> Result<Self::Ok, Self::Error>; in serialize_i16()
471 fn serialize_i32(self, v: i32) -> Result<Self::Ok, Self::Error>; in serialize_i32()
489 fn serialize_i64(self, v: i64) -> Result<Self::Ok, Self::Error>; in serialize_i64()
509 fn serialize_i128(self, v: i128) -> Result<Self::Ok, Self::Error> { in serialize_i128()
534 fn serialize_u8(self, v: u8) -> Result<Self::Ok, Self::Error>; in serialize_u8()
556 fn serialize_u16(self, v: u16) -> Result<Self::Ok, Self::Error>; in serialize_u16()
[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 …]
Dfmt.rs4 impl Error for fmt::Error { implementation
40 type Error = fmt::Error; typedef
116 fn serialize_seq(self, _len: Option<usize>) -> Result<Self::SerializeSeq, fmt::Error> { in serialize_seq()
120 fn serialize_tuple(self, _len: usize) -> Result<Self::SerializeTuple, fmt::Error> { in serialize_tuple()
128 ) -> Result<Self::SerializeTupleStruct, fmt::Error> { in serialize_tuple_struct()
138 ) -> Result<Self::SerializeTupleVariant, fmt::Error> { in serialize_tuple_variant()
142 fn serialize_map(self, _len: Option<usize>) -> Result<Self::SerializeMap, fmt::Error> { in serialize_map()
150 ) -> Result<Self::SerializeStruct, fmt::Error> { in serialize_struct()
160 ) -> Result<Self::SerializeStructVariant, fmt::Error> { in serialize_struct_variant()
/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/cxx/gen/lib/src/
Derror.rs9 pub struct Error { struct
10 pub(crate) err: crate::gen::Error, argument
13 impl Error { implementation
23 impl From<crate::gen::Error> for Error { implementation
29 impl Display for Error { implementation
35 impl Debug for Error { implementation
41 impl StdError for Error { implementation
47 impl IntoIterator for Error { implementation
/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 { impl
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 { impl
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.rs100 pub struct Error { struct
101 messages: Vec<ErrorMessage>, argument
127 impl Error { impl
161 fn new(span: Span, message: String) -> Error { in new()
192 fn new_spanned(tokens: TokenStream, message: String) -> Error { in new_spanned()
270 pub fn combine(&mut self, another: Error) { in combine()
327 pub(crate) fn new_at<T: Display>(scope: Span, cursor: Cursor, message: T) -> Error { in new_at()
337 pub(crate) fn new2<T: Display>(start: Span, end: Span, message: T) -> Error { in new2()
340 fn new2(start: Span, end: Span, message: String) -> Error { in new2()
350 impl Debug for Error { implementation
[all …]
/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/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 { func
/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 { func
/third_party/rust/crates/serde/serde/src/private/
Dser.rs86 fn bad_type(self, what: Unsupported) -> S::Error { in bad_type()
99 type Error = S::Error; typedef
117 fn serialize_bool(self, _: bool) -> Result<Self::Ok, Self::Error> { in serialize_bool()
121 fn serialize_i8(self, _: i8) -> Result<Self::Ok, Self::Error> { in serialize_i8()
125 fn serialize_i16(self, _: i16) -> Result<Self::Ok, Self::Error> { in serialize_i16()
129 fn serialize_i32(self, _: i32) -> Result<Self::Ok, Self::Error> { in serialize_i32()
133 fn serialize_i64(self, _: i64) -> Result<Self::Ok, Self::Error> { in serialize_i64()
137 fn serialize_u8(self, _: u8) -> Result<Self::Ok, Self::Error> { in serialize_u8()
141 fn serialize_u16(self, _: u16) -> Result<Self::Ok, Self::Error> { in serialize_u16()
145 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/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/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/clap/clap_derive/src/utils/
Derror.rs3 fn EXPECTED_Span_OR_ToTokens<D: std::fmt::Display>(&self, msg: D) -> syn::Error; in EXPECTED_Span_OR_ToTokens()
8 fn EXPECTED_Span_OR_ToTokens<D: std::fmt::Display>(&self, msg: D) -> syn::Error; in EXPECTED_Span_OR_ToTokens()
12 fn EXPECTED_Span_OR_ToTokens<D: std::fmt::Display>(&self, msg: D) -> syn::Error { in EXPECTED_Span_OR_ToTokens()
19 fn EXPECTED_Span_OR_ToTokens<D: std::fmt::Display>(&self, msg: D) -> syn::Error { in EXPECTED_Span_OR_ToTokens()
/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 …]
/third_party/rust/crates/humantime/src/
Dduration.rs8 pub enum Error { enum
51 impl StdError for Error {} implementation
53 impl fmt::Display for Error { implementation
84 fn mul(self, other: Self) -> Result<Self, Error>; in mul() argument
85 fn add(self, other: Self) -> Result<Self, Error>; in add() argument
89 fn mul(self, other: Self) -> Result<Self, Error> { in mul() argument
92 fn add(self, other: Self) -> Result<Self, Error> { in add() argument
108 fn parse_first_char(&mut self) -> Result<Option<u64>, Error> { in parse_first_char() argument
124 -> Result<(), Error> in parse_unit() argument
156 fn parse(mut self) -> Result<Duration, Error> { in parse() argument
[all …]
/third_party/rust/crates/cxx/syntax/
Derror.rs4 pub struct Error { struct
10 impl Display for Error { argument

12345678910>>...16