Skip to navigation

Enum Plugin Execution

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

#[non_exhaustive]pub enum PluginExecution {
NativeAbi,
WorkerProtocol,
}

Producer-authored plugin execution mechanism, excluded from counter identity.

Phase-one core activation recording leaves execution unset. These values support later native/worker producer integrations; they do not describe currently implemented automatic collection.

Variants (Non-exhaustive)

NativeAbi

NativeAbi

The plugin executes through the native ABI.

WorkerProtocol

WorkerProtocol

The plugin executes through the dynamic-worker protocol.

Implementations

impl PluginExecution

impl PluginExecution

from_canonical_name

pub fn from_canonical_name(name: &str) -> Option<PluginExecution>

Interpret an exact supported canonical name without allocating.

as_str

pub const fn as_str(self) -> &'static str

Stable portable name, also available in const contexts.

Trait Implementations

impl Clone for PluginExecution

impl Clone for PluginExecution

clone

fn clone(&self) -> PluginExecution

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for PluginExecution

impl Debug for PluginExecution

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

impl<'de> Deserialize<'de> for PluginExecution

impl<'de> Deserialize<'de> for PluginExecution

deserialize

fn deserialize<__D>(
    __deserializer: __D,
) -> Result<PluginExecution, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,

impl<'_derivative_strum> From<&'_derivative_strum PluginExecution> for &'static str

impl<'_derivative_strum> From<&'_derivative_strum PluginExecution> for &'static str

from

fn from(x: &'_derivative_strum PluginExecution) -> &'static str

impl From<PluginExecution> for &'static str

impl From<PluginExecution> for &'static str

from

fn from(x: PluginExecution) -> &'static str

impl From<PluginExecution> for PluginExecutionName

impl From<PluginExecution> for PluginExecutionName

from

fn from(value: PluginExecution) -> PluginExecutionName

impl FromStr for PluginExecution

impl FromStr for PluginExecution

Err

type Err = ParseError

from_str

fn from_str(
    s: &str,
) -> Result<PluginExecution, <PluginExecution as FromStr>::Err>

impl Hash for PluginExecution

impl Hash for PluginExecution

hash

fn hash<__H>(&self, state: &mut __H)where
    __H: Hasher,

hash_slice

fn hash_slice<H>(data: &[Self], state: &mut H)where
    H: Hasher,
    Self: Sized,

impl Ord for PluginExecution

impl Ord for PluginExecution

cmp

fn cmp(&self, other: &PluginExecution) -> Ordering

max

fn max(self, other: Self) -> Selfwhere
    Self: Sized,

min

fn min(self, other: Self) -> Selfwhere
    Self: Sized,

clamp

fn clamp(self, min: Self, max: Self) -> Selfwhere
    Self: Sized,

impl PartialEq for PluginExecution

impl PartialEq for PluginExecution

eq

fn eq(&self, other: &PluginExecution) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl PartialOrd for PluginExecution

impl PartialOrd for PluginExecution

partial_cmp

fn partial_cmp(&self, other: &PluginExecution) -> Option<Ordering>

lt

fn lt(&self, other: &Rhs) -> bool

le

fn le(&self, other: &Rhs) -> bool

gt

fn gt(&self, other: &Rhs) -> bool

ge

fn ge(&self, other: &Rhs) -> bool

impl Serialize for PluginExecution

impl Serialize for PluginExecution

serialize

fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,

impl TryFrom<&str> for PluginExecution

impl TryFrom<&str> for PluginExecution

Error

type Error = ParseError

try_from

fn try_from(
    s: &str,
) -> Result<PluginExecution, <PluginExecution as TryFrom<&str>>::Error>

impl Copy for PluginExecution

impl Copy for PluginExecution

impl Eq for PluginExecution

impl Eq for PluginExecution

impl StructuralPartialEq for PluginExecution

impl StructuralPartialEq for PluginExecution