Enum surf_vcr::VcrMode [−][src]
pub enum VcrMode {
Record,
Replay,
}
Expand description
Determines whether the middleware should record the HTTP session or inject pre-recorded responses into the session.
Variants
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VcrMode
impl UnwindSafe for VcrMode
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more