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 Clone for InterceptionStage
impl Clone for InterceptionStage
Source§fn clone(&self) -> InterceptionStage
fn clone(&self) -> InterceptionStage
Returns a duplicate 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 Default for InterceptionStage
impl Default for InterceptionStage
Source§fn default() -> InterceptionStage
fn default() -> InterceptionStage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InterceptionStage
impl<'de> Deserialize<'de> for InterceptionStage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InterceptionStage
impl PartialEq for InterceptionStage
Source§impl Serialize for InterceptionStage
impl Serialize 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 UnsafeUnpin 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