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: Option<UtxoIndexProxy>, recv_channel: CollectorNotificationReceiver<ConsensusNotification> ) -> Self
Trait Implementations§
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§
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
§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.