pub trait ExecSessionProvider {
// Required methods
fn spawn_exec(
&mut self,
username: &[u8],
command: &[u8],
) -> Result<ExecSessionWiring>;
fn close_exec(&mut self, wiring: &ExecSessionWiring) -> Result<()>;
}Required Methods§
Sourcefn spawn_exec(
&mut self,
username: &[u8],
command: &[u8],
) -> Result<ExecSessionWiring>
fn spawn_exec( &mut self, username: &[u8], command: &[u8], ) -> Result<ExecSessionWiring>
Implements spawn exec.
Sourcefn close_exec(&mut self, wiring: &ExecSessionWiring) -> Result<()>
fn close_exec(&mut self, wiring: &ExecSessionWiring) -> Result<()>
Closes exec.