pub enum PluginKind {
Dialect,
SignerFactory,
Observability,
}Expand description
Plugin kind/slot type. Used by PDK macros and host-side plugin dispatch. Note: Kind is NOT embedded in the custom section (duck typing); it’s inferred from declared functions or provided explicitly by PDK macro hints.
Variants§
Dialect
Request/response dialect plugin (implements shape).
SignerFactory
API key signing plugin (implements build_signer, sign).
Observability
Observability/logging plugin (implements observe).
Trait Implementations§
Source§impl Clone for PluginKind
impl Clone for PluginKind
Source§fn clone(&self) -> PluginKind
fn clone(&self) -> PluginKind
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 PluginKind
Source§impl Debug for PluginKind
impl Debug for PluginKind
Source§impl<'de> Deserialize<'de> for PluginKind
impl<'de> Deserialize<'de> for PluginKind
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 PluginKind
Source§impl PartialEq for PluginKind
impl PartialEq for PluginKind
Source§fn eq(&self, other: &PluginKind) -> bool
fn eq(&self, other: &PluginKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PluginKind
impl Serialize for PluginKind
impl StructuralPartialEq for PluginKind
Auto Trait Implementations§
impl Freeze for PluginKind
impl RefUnwindSafe for PluginKind
impl Send for PluginKind
impl Sync for PluginKind
impl Unpin for PluginKind
impl UnsafeUnpin for PluginKind
impl UnwindSafe for PluginKind
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