pub struct LocalHostExecutor { /* private fields */ }Implementations§
Source§impl LocalHostExecutor
impl LocalHostExecutor
Sourcepub fn for_local_development(
permits: Arc<dyn CommandPermitRepository>,
secrets: Arc<dyn SecretResolver>,
owner: impl Into<String>,
root: PathBuf,
global_limit: usize,
tenant_limit: usize,
allow_shell: bool,
) -> Result<Self>
pub fn for_local_development( permits: Arc<dyn CommandPermitRepository>, secrets: Arc<dyn SecretResolver>, owner: impl Into<String>, root: PathBuf, global_limit: usize, tenant_limit: usize, allow_shell: bool, ) -> Result<Self>
This constructor is deliberately explicit and intended only for local development and tests. Server production startup rejects this adapter.
Trait Implementations§
Source§impl Clone for LocalHostExecutor
impl Clone for LocalHostExecutor
Source§impl Debug for LocalHostExecutor
impl Debug for LocalHostExecutor
Source§impl WorkspaceCommandExecutor for LocalHostExecutor
impl WorkspaceCommandExecutor for LocalHostExecutor
fn execute<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
tenant_id: &'life1 str,
_workspace_id: &'life2 str,
command_id: &'life3 str,
spec: &'life4 CommandSpec,
) -> Pin<Box<dyn Future<Output = Result<CmdOutput>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn cancel<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
tenant_id: &'life1 str,
command_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for LocalHostExecutor
impl !UnwindSafe for LocalHostExecutor
impl Freeze for LocalHostExecutor
impl Send for LocalHostExecutor
impl Sync for LocalHostExecutor
impl Unpin for LocalHostExecutor
impl UnsafeUnpin for LocalHostExecutor
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