pub enum ResponseOp {
SetHeader {
name: String,
value: String,
},
RemoveHeader {
name: String,
},
Mutate(MutateOp),
}Variants§
Trait Implementations§
Source§impl ApplyOps<ResponseOp> for Response<Bytes>
Available on crate feature std only.
impl ApplyOps<ResponseOp> for Response<Bytes>
Available on crate feature
std only.fn apply(self, ops: &[ResponseOp]) -> Self
Source§impl Clone for ResponseOp
impl Clone for ResponseOp
Auto Trait Implementations§
impl Freeze for ResponseOp
impl RefUnwindSafe for ResponseOp
impl Send for ResponseOp
impl Sync for ResponseOp
impl Unpin for ResponseOp
impl UnsafeUnpin for ResponseOp
impl UnwindSafe for ResponseOp
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