pub struct RemoteWorkerPlan { /* private fields */ }Implementations§
Source§impl RemoteWorkerPlan
impl RemoteWorkerPlan
pub async fn from_run( run: &RunSpec, host: Option<HostBridge>, ) -> Result<Option<Self>>
pub async fn from_host_packet( host: HostBridge, packet: WorkContextPacket, session_id: String, run_id: String, ) -> Result<Self>
Trait Implementations§
Source§impl WorkerLocalPlan for RemoteWorkerPlan
impl WorkerLocalPlan for RemoteWorkerPlan
fn run_id(&self) -> &str
fn bind_session(&self, session: &mut Session) -> Result<()>
fn apply_task<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
session: &'life1 mut Session,
call_id: &'life2 str,
args: &'life3 Value,
) -> Pin<Box<dyn Future<Output = Result<TaskList>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for RemoteWorkerPlan
impl !UnwindSafe for RemoteWorkerPlan
impl Freeze for RemoteWorkerPlan
impl Send for RemoteWorkerPlan
impl Sync for RemoteWorkerPlan
impl Unpin for RemoteWorkerPlan
impl UnsafeUnpin for RemoteWorkerPlan
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