pub enum EventSource {
Tetragon,
Hubble,
Receipt,
Scan,
}Expand description
Source system for events.
Variants§
Implementations§
Source§impl EventSource
impl EventSource
Sourcepub fn parse_list(s: &str) -> Vec<Self>
pub fn parse_list(s: &str) -> Vec<Self>
Parse a comma-separated list of sources.
Sourcepub fn stream_name(&self) -> &'static str
pub fn stream_name(&self) -> &'static str
JetStream stream name.
Sourcepub fn subject_filter(&self) -> &'static str
pub fn subject_filter(&self) -> &'static str
NATS subject filter pattern.
Trait Implementations§
Source§impl Clone for EventSource
impl Clone for EventSource
Source§fn clone(&self) -> EventSource
fn clone(&self) -> EventSource
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 EventSource
impl Debug for EventSource
Source§impl Display for EventSource
impl Display for EventSource
Source§impl Hash for EventSource
impl Hash for EventSource
Source§impl PartialEq for EventSource
impl PartialEq for EventSource
Source§impl Serialize for EventSource
impl Serialize for EventSource
impl Copy for EventSource
impl Eq for EventSource
impl StructuralPartialEq for EventSource
Auto Trait Implementations§
impl Freeze for EventSource
impl RefUnwindSafe for EventSource
impl Send for EventSource
impl Sync for EventSource
impl Unpin for EventSource
impl UnsafeUnpin for EventSource
impl UnwindSafe for EventSource
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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