pub struct StreamingHandlerRegistration {
pub topic: &'static str,
pub group: Option<&'static str>,
pub name: &'static str,
pub kind: StreamingHandlerKind,
pub consumer_factory: Option<Arc<dyn ConsumerFactory>>,
}Expand description
A registered streaming handler (producer or consumer).
Fields§
§topic: &'static strTopic associated with the handler.
group: Option<&'static str>Consumer group for consumer handlers.
name: &'static strLogical handler name used for registration and lookup.
kind: StreamingHandlerKindHandler direction.
consumer_factory: Option<Arc<dyn ConsumerFactory>>Factory for spawning consumer tasks. None for producers.
Trait Implementations§
Source§impl Clone for StreamingHandlerRegistration
impl Clone for StreamingHandlerRegistration
Source§fn clone(&self) -> StreamingHandlerRegistration
fn clone(&self) -> StreamingHandlerRegistration
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for StreamingHandlerRegistration
impl !UnwindSafe for StreamingHandlerRegistration
impl Freeze for StreamingHandlerRegistration
impl Send for StreamingHandlerRegistration
impl Sync for StreamingHandlerRegistration
impl Unpin for StreamingHandlerRegistration
impl UnsafeUnpin for StreamingHandlerRegistration
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