pub enum InputSource {
Tcp,
Uds,
Stdin,
Webhook,
Rpc,
}Expand description
Source for an input event posted to an agent.
Variants§
Trait Implementations§
Source§impl Clone for InputSource
impl Clone for InputSource
Source§fn clone(&self) -> InputSource
fn clone(&self) -> InputSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InputSource
impl Debug for InputSource
Source§impl<'de> Deserialize<'de> for InputSource
impl<'de> Deserialize<'de> for InputSource
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 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 InputSource
impl PartialEq for InputSource
Source§impl Serialize for InputSource
impl Serialize for InputSource
impl Copy for InputSource
impl Eq for InputSource
impl StructuralPartialEq for InputSource
Auto Trait Implementations§
impl Freeze for InputSource
impl RefUnwindSafe for InputSource
impl Send for InputSource
impl Sync for InputSource
impl Unpin for InputSource
impl UnsafeUnpin for InputSource
impl UnwindSafe for InputSource
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,
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.