Enum aws_http::user_agent::UserAgentStageError [−][src]
pub enum UserAgentStageError {
UserAgentMissing,
InvalidHeader(InvalidHeaderValue),
}
Expand description
Failures that can arise from the user agent middleware
Variants
UserAgentMissing
There was no AwsUserAgent
in the property bag.
InvalidHeader(InvalidHeaderValue)
Tuple Fields
The formatted user agent string is not a valid HTTP header value. This indicates a bug.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for UserAgentStageError
impl Send for UserAgentStageError
impl Sync for UserAgentStageError
impl Unpin for UserAgentStageError
impl UnwindSafe for UserAgentStageError
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