#[non_exhaustive]pub struct PipelineContext { /* private fields */ }Expand description
Context object provided when configuring a custom or standard request pipeline.
This context is passed to the factory function in:
Implementations§
Source§impl PipelineContext
impl PipelineContext
Sourcepub fn resilience_context(&self) -> &HttpResilienceContext
pub fn resilience_context(&self) -> &HttpResilienceContext
Returns the resilience context used for configuring resilience patterns.
Sourcepub const fn redaction_engine(&self) -> &RedactionEngine
pub const fn redaction_engine(&self) -> &RedactionEngine
Returns the redaction engine used for sensitive data handling.
Sourcepub const fn body_builder(&self) -> &HttpBodyBuilder
pub const fn body_builder(&self) -> &HttpBodyBuilder
Returns the HTTP body builder used for constructing request and response bodies.
Trait Implementations§
Source§impl Clone for PipelineContext
impl Clone for PipelineContext
Source§fn clone(&self) -> PipelineContext
fn clone(&self) -> PipelineContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for PipelineContext
impl !UnwindSafe for PipelineContext
impl Freeze for PipelineContext
impl Send for PipelineContext
impl Sync for PipelineContext
impl Unpin for PipelineContext
impl UnsafeUnpin for PipelineContext
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