Lines Matching refs:Error
79 ) -> Result<v1::ServerReflectionServer<impl v1::ServerReflection>, Error> { in build_v1() argument
97 ) -> Result<v1alpha::ServerReflectionServer<impl v1alpha::ServerReflection>, Error> { in build_v1alpha() argument
127 ) -> Result<Self, Error> { in new() argument
142 return Err(Error::InvalidFileDescriptorSet("missing name".to_string())); in new()
164 ) -> Result<(), Error> { in process_file() argument
196 ) -> Result<(), Error> { in process_message() argument
225 ) -> Result<(), Error> { in process_enum() argument
242 ) -> Result<(), Error> { in process_field() argument
285 ) -> Result<String, Error> { in extract_name() argument
287 None => Err(Error::InvalidFileDescriptorSet(format!( in extract_name()
303 pub enum Error { enum
310 impl From<DecodeError> for Error { implementation
312 Error::DecodeError(e) in from()
316 impl std::error::Error for Error {} implementation
318 impl Display for Error { implementation
321 Error::DecodeError(_) => f.write_str("error decoding FileDescriptorSet from buffer"), in fmt()
322 Error::InvalidFileDescriptorSet(s) => { in fmt()