Struct aws_smithy_runtime_api::client::interceptors::error::InterceptorError
source · pub struct InterceptorError { /* private fields */ }
client
only.Expand description
An error related to Smithy interceptors.
Implementations§
source§impl InterceptorError
impl InterceptorError
sourcepub fn read_before_execution(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_before_execution( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_before_execution interceptor.
sourcepub fn modify_before_serialization(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn modify_before_serialization( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a modify_before_serialization interceptor.
sourcepub fn read_before_serialization(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_before_serialization( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_before_serialization interceptor.
sourcepub fn read_after_serialization(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_after_serialization( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_after_serialization interceptor.
sourcepub fn modify_before_retry_loop(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn modify_before_retry_loop( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a modify_before_retry_loop interceptor.
sourcepub fn read_before_attempt(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_before_attempt( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_before_attempt interceptor.
sourcepub fn modify_before_signing(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn modify_before_signing( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a modify_before_signing interceptor.
sourcepub fn read_before_signing(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_before_signing( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_before_signing interceptor.
sourcepub fn read_after_signing(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_after_signing( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_after_signing interceptor.
sourcepub fn modify_before_transmit(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn modify_before_transmit( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a modify_before_transmit interceptor.
sourcepub fn read_before_transmit(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_before_transmit( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_before_transmit interceptor.
sourcepub fn read_after_transmit(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_after_transmit( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_after_transmit interceptor.
sourcepub fn modify_before_deserialization(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn modify_before_deserialization( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a modify_before_deserialization interceptor.
sourcepub fn read_before_deserialization(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_before_deserialization( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_before_deserialization interceptor.
sourcepub fn read_after_deserialization(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_after_deserialization( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_after_deserialization interceptor.
sourcepub fn modify_before_attempt_completion(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn modify_before_attempt_completion( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a modify_before_attempt_completion interceptor.
sourcepub fn read_after_attempt(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_after_attempt( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_after_attempt interceptor.
sourcepub fn modify_before_completion(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn modify_before_completion( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a modify_before_completion interceptor.
sourcepub fn read_after_execution(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_after_execution( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_after_execution interceptor.
sourcepub fn modify_before_attempt_completion_failed(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn modify_before_attempt_completion_failed( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a modify_before_attempt_completion_failed interceptor.
sourcepub fn read_after_attempt_failed(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_after_attempt_failed( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_after_attempt_failed interceptor.
sourcepub fn modify_before_completion_failed(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn modify_before_completion_failed( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a modify_before_completion_failed interceptor.
sourcepub fn read_after_execution_failed(
interceptor_name: impl Into<String>,
source: impl Into<Box<dyn Error + Send + Sync + 'static>>,
) -> Self
pub fn read_after_execution_failed( interceptor_name: impl Into<String>, source: impl Into<Box<dyn Error + Send + Sync + 'static>>, ) -> Self
Create a new error indicating a failure with a read_after_execution_failed interceptor.
sourcepub fn invalid_request_access() -> Self
pub fn invalid_request_access() -> Self
Create a new error indicating that an interceptor tried to access the request out of turn.
sourcepub fn invalid_response_access() -> Self
pub fn invalid_response_access() -> Self
Create a new error indicating that an interceptor tried to access the response out of turn.
sourcepub fn invalid_input_access() -> Self
pub fn invalid_input_access() -> Self
Create a new error indicating that an interceptor tried to access the input out of turn.
sourcepub fn invalid_output_access() -> Self
pub fn invalid_output_access() -> Self
Create a new error indicating that an interceptor tried to access the output out of turn.
Trait Implementations§
source§impl Debug for InterceptorError
impl Debug for InterceptorError
source§impl Display for InterceptorError
impl Display for InterceptorError
source§impl Error for InterceptorError
impl Error for InterceptorError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl<E> From<InterceptorError> for OrchestratorError<E>
impl<E> From<InterceptorError> for OrchestratorError<E>
source§fn from(err: InterceptorError) -> Self
fn from(err: InterceptorError) -> Self
Auto Trait Implementations§
impl Freeze for InterceptorError
impl !RefUnwindSafe for InterceptorError
impl Send for InterceptorError
impl Sync for InterceptorError
impl Unpin for InterceptorError
impl !UnwindSafe for InterceptorError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more