#[non_exhaustive]pub struct ErrorInfo {
pub name: &'static str,
pub status: u16,
pub fault: Fault,
pub retryable: bool,
pub throttling: bool,
pub members: &'static [MemberInfo],
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: &'static str§status: u16§fault: Fault§retryable: boolThe model explicitly marks this error as retryable.
throttling: bool§members: &'static [MemberInfo]Trait Implementations§
Auto Trait Implementations§
impl Forget for ErrorInfo
impl Freeze for ErrorInfo
impl Move for ErrorInfo
impl RefUnwindSafe for ErrorInfo
impl Send for ErrorInfo
impl Sync for ErrorInfo
impl Unpin for ErrorInfo
impl UnsafeUnpin for ErrorInfowhere
&'static str: UnsafeUnpin,
&'static [MemberInfo]: UnsafeUnpin,
&'static [&'static str]: UnsafeUnpin,
impl UnwindSafe for ErrorInfowhere
&'static str: UnwindSafe,
&'static [MemberInfo]: UnwindSafe,
&'static [&'static str]: UnwindSafe,
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