pub enum ExecEvent {
Chunk(ExecChunk),
FlushAck,
Exit(ExecExit),
}Expand description
A streaming exec event — a chunk of output, a flush acknowledgement, or the final exit.
Variants§
Chunk(ExecChunk)
A chunk of stdout or stderr data.
FlushAck
Acknowledgement of a flush request: every output chunk the guest had
buffered when it received the flush has been sent ahead of this marker.
Used to establish a definitive pre/post boundary for log rotation
(ReopenContainerLog) without racing in-flight output.
Exit(ExecExit)
The command has exited.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExecEvent
impl RefUnwindSafe for ExecEvent
impl Send for ExecEvent
impl Sync for ExecEvent
impl Unpin for ExecEvent
impl UnsafeUnpin for ExecEvent
impl UnwindSafe for ExecEvent
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