Enum aws_smithy_http::operation::BuildError [−][src]
#[non_exhaustive]
pub enum BuildError {
InvalidField {
field: &'static str,
details: String,
},
MissingField {
field: &'static str,
details: &'static str,
},
SerializationError(Box<dyn Error + Send + Sync + 'static>),
Other(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
An error occurred attempting to build an Operation
from an input
These are almost always due to user error caused by limitations of specific fields due to protocol serialization (e.g. fields that can only be a subset ASCII because they are serialized as the name of an HTTP header)
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for BuildError
impl Send for BuildError
impl Sync for BuildError
impl Unpin for BuildError
impl !UnwindSafe for BuildError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more