pub enum ResponsePluginResult {
Unchanged,
Modified,
}Expand description
Represents the action a plugin takes on a response.
Variants§
Unchanged
The plugin did not change the response.
Modified
The plugin modified the response (e.g., headers or body).
Trait Implementations§
Source§impl Debug for ResponsePluginResult
impl Debug for ResponsePluginResult
Source§impl PartialEq for ResponsePluginResult
impl PartialEq for ResponsePluginResult
impl Eq for ResponsePluginResult
impl StructuralPartialEq for ResponsePluginResult
Auto Trait Implementations§
impl Freeze for ResponsePluginResult
impl RefUnwindSafe for ResponsePluginResult
impl Send for ResponsePluginResult
impl Sync for ResponsePluginResult
impl Unpin for ResponsePluginResult
impl UnsafeUnpin for ResponsePluginResult
impl UnwindSafe for ResponsePluginResult
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.