pub struct UseEnrichedBody;Expand description
Default strategy: discard the original body, replace with the enriched body.
Headers and properties from the original are preserved; enriched headers
are discarded. Implement a custom EnrichmentStrategy if you need to merge
headers from the enriched exchange.
Trait Implementations§
Source§impl EnrichmentStrategy for UseEnrichedBody
impl EnrichmentStrategy for UseEnrichedBody
Auto Trait Implementations§
impl Freeze for UseEnrichedBody
impl RefUnwindSafe for UseEnrichedBody
impl Send for UseEnrichedBody
impl Sync for UseEnrichedBody
impl Unpin for UseEnrichedBody
impl UnsafeUnpin for UseEnrichedBody
impl UnwindSafe for UseEnrichedBody
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