Enum aws_smithy_runtime_api::client::interceptors::context::phase::Phase
source · #[non_exhaustive]pub enum Phase {
BeforeSerialization,
Serialization,
BeforeTransmit,
Transmit,
BeforeDeserialization,
Deserialization,
AfterDeserialization,
}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.
BeforeSerialization
Represents the phase of an operation prior to serialization.
Serialization
Represents the phase of an operation where the request is serialized.
BeforeTransmit
Represents the phase of an operation prior to transmitting a request over the network.
Transmit
Represents the phase of an operation where the request is transmitted over the network.
BeforeDeserialization
Represents the phase of an operation prior to parsing a response.
Deserialization
Represents the phase of an operation where the response is parsed.
AfterDeserialization
Represents the phase of an operation after parsing a response.
Implementations§
source§impl Phase
impl Phase
pub fn is_before_serialization(&self) -> bool
pub fn is_serialization(&self) -> bool
pub fn is_before_transmit(&self) -> bool
pub fn is_transmit(&self) -> bool
pub fn is_before_deserialization(&self) -> bool
pub fn is_deserialization(&self) -> bool
pub fn is_after_deserialization(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Phase
impl Send for Phase
impl Sync for Phase
impl Unpin for Phase
impl UnwindSafe for Phase
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