pub enum InterceptionStage {
Request,
HeadersReceived,
}
Expand description
Stages of the interception to begin intercepting. Request will intercept before the request is sent. Response will intercept after the response is received.
Variants§
Trait Implementations§
source§impl AsRef<str> for InterceptionStage
impl AsRef<str> for InterceptionStage
source§impl Clone for InterceptionStage
impl Clone for InterceptionStage
source§fn clone(&self) -> InterceptionStage
fn clone(&self) -> InterceptionStage
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 InterceptionStage
impl Debug for InterceptionStage
source§impl<'de> Deserialize<'de> for InterceptionStage
impl<'de> Deserialize<'de> for InterceptionStage
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<InterceptionStage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<InterceptionStage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for InterceptionStage
impl FromStr for InterceptionStage
source§impl Hash for InterceptionStage
impl Hash for InterceptionStage
source§impl PartialEq for InterceptionStage
impl PartialEq for InterceptionStage
source§fn eq(&self, other: &InterceptionStage) -> bool
fn eq(&self, other: &InterceptionStage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for InterceptionStage
impl Serialize for InterceptionStage
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for InterceptionStage
impl StructuralPartialEq for InterceptionStage
Auto Trait Implementations§
impl Freeze for InterceptionStage
impl RefUnwindSafe for InterceptionStage
impl Send for InterceptionStage
impl Sync for InterceptionStage
impl Unpin for InterceptionStage
impl UnwindSafe for InterceptionStage
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