pub enum StreamingHandlerKind {
Producer,
Consumer,
}Expand description
Whether a streaming handler produces or consumes messages.
Variants§
Producer
Handler that publishes messages to a topic.
Consumer
Handler that consumes messages from a topic.
Trait Implementations§
Source§impl Clone for StreamingHandlerKind
impl Clone for StreamingHandlerKind
Source§fn clone(&self) -> StreamingHandlerKind
fn clone(&self) -> StreamingHandlerKind
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 StreamingHandlerKind
Source§impl Debug for StreamingHandlerKind
impl Debug for StreamingHandlerKind
impl Eq for StreamingHandlerKind
Source§impl PartialEq for StreamingHandlerKind
impl PartialEq for StreamingHandlerKind
Source§fn eq(&self, other: &StreamingHandlerKind) -> bool
fn eq(&self, other: &StreamingHandlerKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StreamingHandlerKind
Auto Trait Implementations§
impl Freeze for StreamingHandlerKind
impl RefUnwindSafe for StreamingHandlerKind
impl Send for StreamingHandlerKind
impl Sync for StreamingHandlerKind
impl Unpin for StreamingHandlerKind
impl UnsafeUnpin for StreamingHandlerKind
impl UnwindSafe for StreamingHandlerKind
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