pub enum Event {
Completed {
id: SandboxId,
output: Output,
},
Timeout {
id: SandboxId,
output: Output,
},
Stdout {
id: SandboxId,
data: Vec<u8>,
},
Stderr {
id: SandboxId,
data: Vec<u8>,
},
}Expand description
Events emitted by the Executor.
Variants§
Completed
Sandbox completed execution.
Timeout
Sandbox timed out and was killed.
Stdout
Stdout data available (streaming mode).
Stderr
Stderr data available (streaming mode).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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