pub struct JavaCodegenError {
pub service: String,
pub method: String,
pub detail: String,
}Expand description
A focused generation error. Java generation is deliberately fallible because the first Java runtime accepts a smaller shape/transport surface than Rust.
Fields§
§service: String§method: String§detail: StringTrait Implementations§
Source§impl Clone for JavaCodegenError
impl Clone for JavaCodegenError
Source§impl Debug for JavaCodegenError
impl Debug for JavaCodegenError
Source§impl Display for JavaCodegenError
impl Display for JavaCodegenError
impl Eq for JavaCodegenError
Source§impl Error for JavaCodegenError
impl Error for JavaCodegenError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for JavaCodegenError
impl PartialEq for JavaCodegenError
impl StructuralPartialEq for JavaCodegenError
Auto Trait Implementations§
impl Freeze for JavaCodegenError
impl RefUnwindSafe for JavaCodegenError
impl Send for JavaCodegenError
impl Sync for JavaCodegenError
impl Unpin for JavaCodegenError
impl UnsafeUnpin for JavaCodegenError
impl UnwindSafe for JavaCodegenError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.