Trait AwsError

Source
pub trait AwsError: Error + 'static {
    type DisplayErrorContext<'a>;

    // Required methods
    fn error_context(&self) -> Self::DisplayErrorContext<'_>;
    fn meta(&self) -> &ErrorMetadata;

    // Provided methods
    fn code(&self) -> Option<&str> { ... }
    fn message(&self) -> Option<&str> { ... }
}

Required Associated Types§

Required Methods§

Provided Methods§

Source

fn code(&self) -> Option<&str>

Source

fn message(&self) -> Option<&str>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§