pub struct RemoteWorkspaceProvider { /* private fields */ }Expand description
The remote provider: thin adapter over a SubstrateClient. See the
module docs for the config gate, owner taxonomy, and v1 honesty notes.
Trait Implementations§
Source§impl WorkspaceProvider for RemoteWorkspaceProvider
impl WorkspaceProvider for RemoteWorkspaceProvider
Source§fn kind(&self) -> WorkspaceProviderKind
fn kind(&self) -> WorkspaceProviderKind
Which kind this provider is (recorded in
workspace.provisioned).Source§fn provision<'life0, 'life1, 'async_trait>(
&'life0 self,
spec: &'life1 ProvisionSpec,
) -> Pin<Box<dyn Future<Output = Result<WorkspaceHandle>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn provision<'life0, 'life1, 'async_trait>(
&'life0 self,
spec: &'life1 ProvisionSpec,
) -> Pin<Box<dyn Future<Output = Result<WorkspaceHandle>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Establish the workspace for one mission and return its handle.
Source§fn readiness<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
handle: &'life1 WorkspaceHandle,
progress: &'life2 mut ProgressSink<'life3>,
) -> Pin<Box<dyn Future<Output = Result<ReadinessOutcome>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn readiness<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
handle: &'life1 WorkspaceHandle,
progress: &'life2 mut ProgressSink<'life3>,
) -> Pin<Box<dyn Future<Output = Result<ReadinessOutcome>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Prove the workspace ready for spend (see
ProgressSink).Source§fn teardown<'life0, 'async_trait>(
&'life0 self,
handle: WorkspaceHandle,
mode: TeardownMode,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn teardown<'life0, 'async_trait>(
&'life0 self,
handle: WorkspaceHandle,
mode: TeardownMode,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Tear the workspace down per
mode (see TeardownMode for v1
local-worktree semantics).Source§fn run_data_hook<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
handle: &'life1 WorkspaceHandle,
hook: DataHookKind,
command: &'life2 str,
progress: &'life3 mut ProgressSink<'life4>,
) -> Pin<Box<dyn Future<Output = Result<Option<CommandOutcome>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn run_data_hook<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
handle: &'life1 WorkspaceHandle,
hook: DataHookKind,
command: &'life2 str,
progress: &'life3 mut ProgressSink<'life4>,
) -> Pin<Box<dyn Future<Output = Result<Option<CommandOutcome>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Run one declared golden-data hook (design D-D) inside this workspace
and report its
workspace data: decision line through progress.
Used by readiness (clone/migrate/skewCheck) and by the engine’s
reset-between-rounds drive from validation_round — one method so
the reset fires through the same execution path as the provision-time
hooks. Returns the failing CommandOutcome only on failure. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for RemoteWorkspaceProvider
impl !UnwindSafe for RemoteWorkspaceProvider
impl Freeze for RemoteWorkspaceProvider
impl Send for RemoteWorkspaceProvider
impl Sync for RemoteWorkspaceProvider
impl Unpin for RemoteWorkspaceProvider
impl UnsafeUnpin for RemoteWorkspaceProvider
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