pub struct SystemResumeHooks;Expand description
The real side effects: docker watcher, isolation backends, log evidence.
Trait Implementations§
Source§impl Debug for SystemResumeHooks
impl Debug for SystemResumeHooks
Source§impl Default for SystemResumeHooks
impl Default for SystemResumeHooks
Source§impl ResumeHooks for SystemResumeHooks
impl ResumeHooks for SystemResumeHooks
Source§fn start_watcher(&self, session_name: &str, record: &ExecutionRecord)
fn start_watcher(&self, session_name: &str, record: &ExecutionRecord)
Attach a fresh completion watcher to a resumed docker session.
Source§fn attach_watcher(
&self,
session_name: &str,
record: &ExecutionRecord,
) -> Result<(), String>
fn attach_watcher( &self, session_name: &str, record: &ExecutionRecord, ) -> Result<(), String>
Report attachment failures while keeping existing injectable hooks compatible.
Source§fn relaunch(
&self,
backend: &str,
command: &str,
options: &IsolationOptions,
) -> IsolationResult
fn relaunch( &self, backend: &str, command: &str, options: &IsolationOptions, ) -> IsolationResult
Launch the command again through its isolation backend.
Source§fn reconcile(&self, record: &ExecutionRecord) -> ExecutionRecord
fn reconcile(&self, record: &ExecutionRecord) -> ExecutionRecord
Resolve the terminal result of a session that ended unsupervised.
Auto Trait Implementations§
impl Freeze for SystemResumeHooks
impl RefUnwindSafe for SystemResumeHooks
impl Send for SystemResumeHooks
impl Sync for SystemResumeHooks
impl Unpin for SystemResumeHooks
impl UnsafeUnpin for SystemResumeHooks
impl UnwindSafe for SystemResumeHooks
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