pub struct JavaExceptionMapping {
pub kind: JavaExceptionKind,
pub class_name: &'static str,
pub retryable: bool,
pub preserves_request_id: bool,
pub preserves_retry_after: bool,
}Expand description
Java-facing mapping for one stable protocol error.
Fields§
§kind: JavaExceptionKindDocumented exception kind.
class_name: &'static strJava class name the SDK must expose.
retryable: boolRetryability copied from the protocol envelope.
preserves_request_id: boolWhether the Java exception must retain the request id.
preserves_retry_after: boolWhether the Java exception must retain retry-after metadata when present.
Trait Implementations§
Source§impl Clone for JavaExceptionMapping
impl Clone for JavaExceptionMapping
Source§fn clone(&self) -> JavaExceptionMapping
fn clone(&self) -> JavaExceptionMapping
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JavaExceptionMapping
impl Debug for JavaExceptionMapping
impl Eq for JavaExceptionMapping
Source§impl PartialEq for JavaExceptionMapping
impl PartialEq for JavaExceptionMapping
Source§fn eq(&self, other: &JavaExceptionMapping) -> bool
fn eq(&self, other: &JavaExceptionMapping) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JavaExceptionMapping
Auto Trait Implementations§
impl Freeze for JavaExceptionMapping
impl RefUnwindSafe for JavaExceptionMapping
impl Send for JavaExceptionMapping
impl Sync for JavaExceptionMapping
impl Unpin for JavaExceptionMapping
impl UnsafeUnpin for JavaExceptionMapping
impl UnwindSafe for JavaExceptionMapping
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