Struct kaspa_index_processor::processor::Processor
source · pub struct Processor { /* private fields */ }
Expand description
Processor processes incoming consensus UtxosChanged and PruningPointUtxoSetOverride notifications submitting them to a UtxoIndex.
It also acts as a Collector
, converting the incoming consensus notifications
into their pending local versions and relaying them to a local notifier.
Implementations§
source§impl Processor
impl Processor
pub fn new( utxoindex: DynUtxoIndexApi, recv_channel: CollectorNotificationReceiver<ConsensusNotification> ) -> Self
Trait Implementations§
source§impl Collector<Notification> for Processor
impl Collector<Notification> for Processor
Auto Trait Implementations§
impl !RefUnwindSafe for Processor
impl Send for Processor
impl Sync for Processor
impl Unpin for Processor
impl !UnwindSafe for Processor
Blanket Implementations§
§impl<T> CastFrom for Twhere
T: Any + 'static,
impl<T> CastFrom for Twhere T: Any + 'static,
§fn ref_any(&self) -> &(dyn Any + 'static)
fn ref_any(&self) -> &(dyn Any + 'static)
Returns a immutable reference to
Any
, which is backed by the type implementing this trait.§fn mut_any(&mut self) -> &mut (dyn Any + 'static)
fn mut_any(&mut self) -> &mut (dyn Any + 'static)
Returns a mutable reference to
Any
, which is backed by the type implementing this trait.