pub struct RuntimeBundle {
pub runtime: KubericRuntime,
pub replicator_control_rx: Receiver<ReplicatorControlEvent>,
pub replicator_data_rx: Receiver<ReplicateRequest>,
pub lifecycle_rx: Receiver<LifecycleEvent>,
pub partition: Arc<PartitionHandle>,
pub replicator_handle: StateReplicatorHandle,
pub state: Arc<PartitionState>,
}Expand description
Everything produced by the builder. The caller spawns the replicator actor
with replicator_control_rx + replicator_data_rx, and runs the user
service event loop with lifecycle_rx.
Fields§
§runtime: KubericRuntime§replicator_control_rx: Receiver<ReplicatorControlEvent>§replicator_data_rx: Receiver<ReplicateRequest>§lifecycle_rx: Receiver<LifecycleEvent>§partition: Arc<PartitionHandle>§replicator_handle: StateReplicatorHandle§state: Arc<PartitionState>Auto Trait Implementations§
impl Freeze for RuntimeBundle
impl RefUnwindSafe for RuntimeBundle
impl Send for RuntimeBundle
impl Sync for RuntimeBundle
impl Unpin for RuntimeBundle
impl UnsafeUnpin for RuntimeBundle
impl UnwindSafe for RuntimeBundle
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request