pub struct PhotonRuntimeState {
pub storage_port: Arc<dyn StoragePort>,
pub executor_services: Arc<ExecutorServices>,
pub executor: Arc<ExecutorController>,
}Expand description
Shared storage port, executor services, and handler dispatch controller.
Fields§
§storage_port: Arc<dyn StoragePort>Storage port used by executor checkpoint/retention services.
executor_services: Arc<ExecutorServices>Services used by durable handler executors.
executor: Arc<ExecutorController>Handler dispatch controller.
Trait Implementations§
Source§impl Clone for PhotonRuntimeState
impl Clone for PhotonRuntimeState
Source§fn clone(&self) -> PhotonRuntimeState
fn clone(&self) -> PhotonRuntimeState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for PhotonRuntimeState
impl !UnwindSafe for PhotonRuntimeState
impl Freeze for PhotonRuntimeState
impl Send for PhotonRuntimeState
impl Sync for PhotonRuntimeState
impl Unpin for PhotonRuntimeState
impl UnsafeUnpin for PhotonRuntimeState
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