pub struct Projector { /* private fields */ }Implementations§
Source§impl Projector
impl Projector
pub fn new( view_index: Arc<ViewIndex>, bus_manager: BusManager, entity_cache: EntityCache, mutations_rx: Receiver<MutationBatch>, ) -> Self
Sourcepub fn with_snapshot_runtime(self, snapshot_runtime: SnapshotRuntime) -> Self
pub fn with_snapshot_runtime(self, snapshot_runtime: SnapshotRuntime) -> Self
Associate projection progress with one server’s snapshot lifecycle.
Sourcepub fn with_journal(self, journal: Arc<EventJournal>) -> Self
pub fn with_journal(self, journal: Arc<EventJournal>) -> Self
Retain published events for replayable append subscriptions.
pub async fn run(self)
Auto Trait Implementations§
impl !RefUnwindSafe for Projector
impl !UnwindSafe for Projector
impl Freeze for Projector
impl Send for Projector
impl Sync for Projector
impl Unpin for Projector
impl UnsafeUnpin for Projector
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