pub enum SomeDataHandler<T> {
Observer(Box<dyn DataObserver<T> + Send>),
Transformer(Box<dyn DataTransformer<T> + Send>),
Filter(Box<dyn DataFilter<T> + Send>),
Consumer(Box<dyn DataConsumer<T> + Send>),
Demuxer(Box<dyn DataDemuxer<T> + Send>),
}
Variants§
Observer(Box<dyn DataObserver<T> + Send>)
Transformer(Box<dyn DataTransformer<T> + Send>)
Filter(Box<dyn DataFilter<T> + Send>)
Consumer(Box<dyn DataConsumer<T> + Send>)
Demuxer(Box<dyn DataDemuxer<T> + Send>)
Trait Implementations§
Source§impl<F, T> From<F> for SomeDataHandler<T>
impl<F, T> From<F> for SomeDataHandler<T>
Source§impl<T> From<StaticDemuxer<T>> for SomeDataHandler<T>where
T: 'static,
impl<T> From<StaticDemuxer<T>> for SomeDataHandler<T>where
T: 'static,
Source§fn from(value: StaticDemuxer<T>) -> Self
fn from(value: StaticDemuxer<T>) -> Self
Converts to this type from the input type.
Source§impl<T> StatsProducer for SomeDataHandler<T>
impl<T> StatsProducer for SomeDataHandler<T>
Auto Trait Implementations§
impl<T> Freeze for SomeDataHandler<T>
impl<T> !RefUnwindSafe for SomeDataHandler<T>
impl<T> Send for SomeDataHandler<T>
impl<T> !Sync for SomeDataHandler<T>
impl<T> Unpin for SomeDataHandler<T>
impl<T> !UnwindSafe for SomeDataHandler<T>
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