Enum aws_smithy_runtime::client::http::test_util::wire::ReplayedEvent
source · #[non_exhaustive]pub enum ReplayedEvent {
Timeout,
HttpResponse {
status: u16,
body: Bytes,
},
}
Available on crate features
client
and test-util
and connector-hyper-0-14-x
and wire-mock
only.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.
Implementations§
Trait Implementations§
source§impl Clone for ReplayedEvent
impl Clone for ReplayedEvent
source§fn clone(&self) -> ReplayedEvent
fn clone(&self) -> ReplayedEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReplayedEvent
impl Debug for ReplayedEvent
source§impl PartialEq for ReplayedEvent
impl PartialEq for ReplayedEvent
source§fn eq(&self, other: &ReplayedEvent) -> bool
fn eq(&self, other: &ReplayedEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ReplayedEvent
impl StructuralPartialEq for ReplayedEvent
Auto Trait Implementations§
impl !Freeze for ReplayedEvent
impl RefUnwindSafe for ReplayedEvent
impl Send for ReplayedEvent
impl Sync for ReplayedEvent
impl Unpin for ReplayedEvent
impl UnwindSafe for ReplayedEvent
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.