Enum SopTriggerSource
pub enum SopTriggerSource {
Mqtt,
Webhook,
Cron,
Peripheral,
Filesystem,
Calendar,
Channel,
Manual,
Amqp,
}Expand description
The source type of an incoming event that may trigger an SOP. Derived from SopTrigger; one discriminant per trigger variant.
Variants§
Mqtt
MQTT message arrival. Live: delivered by the MQTT listener.
Webhook
Inbound HTTP request. Defined and matched, but no live route feeds it.
Cron
Time-based firing. Live: dispatched by the SOP maintenance tick (daemon / channel-start paths).
Peripheral
Hardware signal. Defined and matched, but no peripheral listener feeds it.
Filesystem
Filesystem change. Live: delivered by the filesystem watcher.
Calendar
Calendar event state. Defined and matched, but no poller feeds it live.
Channel
Inbound message or forge/platform event on a configured channel
(telegram, discord, slack, git, …). Live: delivered by the channel
orchestrator when the channel’s SOP dispatch is enabled. The Git forge
producer sets an event topic of the form <channel>.<alias>:<event_type>
and puts event_type in the payload, so an authored condition filters
forge events by type without a second trigger shape.
Manual
Agent-initiated run via the sop_execute tool. Not an external fan-in.
Amqp
AMQP delivery. Live: delivered by the AMQP consumer in a SOP dispatch mode.
Trait Implementations§
Source§impl Clone for SopTriggerSource
impl Clone for SopTriggerSource
Source§fn clone(&self) -> SopTriggerSource
fn clone(&self) -> SopTriggerSource
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SopTriggerSource
impl Debug for SopTriggerSource
Source§impl<'de> Deserialize<'de> for SopTriggerSource
impl<'de> Deserialize<'de> for SopTriggerSource
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>,
Source§impl Display for SopTriggerSource
impl Display for SopTriggerSource
Source§impl<'_enum> From<&'_enum SopTrigger> for SopTriggerSource
impl<'_enum> From<&'_enum SopTrigger> for SopTriggerSource
Source§fn from(val: &'_enum SopTrigger) -> SopTriggerSource
fn from(val: &'_enum SopTrigger) -> SopTriggerSource
Source§impl<'_derivative_strum> From<&'_derivative_strum SopTriggerSource> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum SopTriggerSource> for &'static str
Source§fn from(x: &'_derivative_strum SopTriggerSource) -> &'static str
fn from(x: &'_derivative_strum SopTriggerSource) -> &'static str
Source§impl From<SopTrigger> for SopTriggerSource
impl From<SopTrigger> for SopTriggerSource
Source§fn from(val: SopTrigger) -> SopTriggerSource
fn from(val: SopTrigger) -> SopTriggerSource
Source§impl From<SopTriggerSource> for &'static str
impl From<SopTriggerSource> for &'static str
Source§fn from(x: SopTriggerSource) -> &'static str
fn from(x: SopTriggerSource) -> &'static str
Source§impl Hash for SopTriggerSource
impl Hash for SopTriggerSource
Source§impl IntoEnumIterator for SopTriggerSource
impl IntoEnumIterator for SopTriggerSource
type Iterator = SopTriggerSourceIter
fn iter() -> SopTriggerSourceIter ⓘ
Source§impl PartialEq for SopTriggerSource
impl PartialEq for SopTriggerSource
Source§fn eq(&self, other: &SopTriggerSource) -> bool
fn eq(&self, other: &SopTriggerSource) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for SopTriggerSource
impl Serialize for SopTriggerSource
impl Copy for SopTriggerSource
impl Eq for SopTriggerSource
impl StructuralPartialEq for SopTriggerSource
Auto Trait Implementations§
impl Freeze for SopTriggerSource
impl RefUnwindSafe for SopTriggerSource
impl Send for SopTriggerSource
impl Sync for SopTriggerSource
impl Unpin for SopTriggerSource
impl UnsafeUnpin for SopTriggerSource
impl UnwindSafe for SopTriggerSource
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more