pub enum PluginSlot {
Router,
ObservabilityHook,
Shape,
}Expand description
Runtime chain slot a plugin can provide.
Variants§
Router
Router filter slot for selecting or filtering upstream candidates.
ObservabilityHook
Observability hook slot for receiving request lifecycle events.
Shape
Request shaping slot for producing upstream-specific requests.
Implementations§
Trait Implementations§
Source§impl Clone for PluginSlot
impl Clone for PluginSlot
Source§fn clone(&self) -> PluginSlot
fn clone(&self) -> PluginSlot
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 moreimpl Copy for PluginSlot
Source§impl Debug for PluginSlot
impl Debug for PluginSlot
Source§impl<'de> Deserialize<'de> for PluginSlot
impl<'de> Deserialize<'de> for PluginSlot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PluginSlot
Source§impl Hash for PluginSlot
impl Hash for PluginSlot
Source§impl Ord for PluginSlot
impl Ord for PluginSlot
Source§fn cmp(&self, other: &PluginSlot) -> Ordering
fn cmp(&self, other: &PluginSlot) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PluginSlot
impl PartialEq for PluginSlot
Source§fn eq(&self, other: &PluginSlot) -> bool
fn eq(&self, other: &PluginSlot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PluginSlot
impl PartialOrd for PluginSlot
Source§impl Serialize for PluginSlot
impl Serialize for PluginSlot
impl StructuralPartialEq for PluginSlot
Auto Trait Implementations§
impl Freeze for PluginSlot
impl RefUnwindSafe for PluginSlot
impl Send for PluginSlot
impl Sync for PluginSlot
impl Unpin for PluginSlot
impl UnsafeUnpin for PluginSlot
impl UnwindSafe for PluginSlot
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