Struct zinoma::engine::target_actor::service_target_actor::ServiceTargetActor
source · pub struct ServiceTargetActor {
target: ServiceTarget,
helper: TargetActorHelper,
service_process: Option<Child>,
}
Fields§
§target: ServiceTarget
§helper: TargetActorHelper
§service_process: Option<Child>
Implementations§
source§impl ServiceTargetActor
impl ServiceTargetActor
pub fn new(target: ServiceTarget, helper: TargetActorHelper) -> Self
pub async fn run(self)
async fn stop_service(&mut self)
async fn restart_service(&mut self) -> Result<()>
Auto Trait Implementations§
impl RefUnwindSafe for ServiceTargetActor
impl Send for ServiceTargetActor
impl Sync for ServiceTargetActor
impl Unpin for ServiceTargetActor
impl UnwindSafe for ServiceTargetActor
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