pub enum PlainEventSource {
Tcp,
Uds,
Stdin,
Webhook,
Rpc,
}Expand description
Source identifier for plain (unauthenticated) events.
Used for diagnostics and prompt formatting — tells the agent where an external event originated from.
Variants§
Trait Implementations§
Source§impl Clone for PlainEventSource
impl Clone for PlainEventSource
Source§fn clone(&self) -> PlainEventSource
fn clone(&self) -> PlainEventSource
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 PlainEventSource
Source§impl Debug for PlainEventSource
impl Debug for PlainEventSource
Source§impl<'de> Deserialize<'de> for PlainEventSource
impl<'de> Deserialize<'de> for PlainEventSource
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
Source§impl Display for PlainEventSource
impl Display for PlainEventSource
impl Eq for PlainEventSource
Source§impl From<InputSource> for PlainEventSource
impl From<InputSource> for PlainEventSource
Source§fn from(source: InputSource) -> Self
fn from(source: InputSource) -> Self
Converts to this type from the input type.
Source§impl From<PlainEventSource> for InputSource
impl From<PlainEventSource> for InputSource
Source§fn from(source: PlainEventSource) -> Self
fn from(source: PlainEventSource) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlainEventSource
impl PartialEq for PlainEventSource
Source§fn eq(&self, other: &PlainEventSource) -> bool
fn eq(&self, other: &PlainEventSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PlainEventSource
impl Serialize for PlainEventSource
impl StructuralPartialEq for PlainEventSource
Auto Trait Implementations§
impl Freeze for PlainEventSource
impl RefUnwindSafe for PlainEventSource
impl Send for PlainEventSource
impl Sync for PlainEventSource
impl Unpin for PlainEventSource
impl UnsafeUnpin for PlainEventSource
impl UnwindSafe for PlainEventSource
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.