pub struct ProcessWorkDriver { /* private fields */ }Expand description
Registry and wake handle for a process work runner owned outside
LashCore.
Durable deployments use this to bind one registry to the external runner that consumes that registry’s non-terminal process rows. The facade can then configure process lifecycle support from the driver without accepting a second, potentially divergent registry argument.
Implementations§
Source§impl ProcessWorkDriver
impl ProcessWorkDriver
pub fn new(registry: Arc<dyn ProcessRegistry>, poke: ProcessWorkPoke) -> Self
pub fn process_registry(&self) -> Arc<dyn ProcessRegistry> ⓘ
pub fn poke_handle(&self) -> ProcessWorkPoke
Trait Implementations§
Source§impl Clone for ProcessWorkDriver
impl Clone for ProcessWorkDriver
Source§fn clone(&self) -> ProcessWorkDriver
fn clone(&self) -> ProcessWorkDriver
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 ProcessWorkDriver
impl !UnwindSafe for ProcessWorkDriver
impl Freeze for ProcessWorkDriver
impl Send for ProcessWorkDriver
impl Sync for ProcessWorkDriver
impl Unpin for ProcessWorkDriver
impl UnsafeUnpin for ProcessWorkDriver
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