pub struct RunnerInvocation { /* private fields */ }Expand description
A newly registered runner invocation and its event stream.
The invocation identity is available before the stream is polled, so hosts can durably correlate failures that happen before the first agent event.
Implementations§
Source§impl RunnerInvocation
impl RunnerInvocation
Sourcepub fn invocation_id(&self) -> &InvocationId
pub fn invocation_id(&self) -> &InvocationId
Returns the identity assigned to this invocation.
Sourcepub fn into_events(self) -> EventStream
pub fn into_events(self) -> EventStream
Consumes the invocation and returns its event stream.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RunnerInvocation
impl !Sync for RunnerInvocation
impl !UnwindSafe for RunnerInvocation
impl Freeze for RunnerInvocation
impl Send for RunnerInvocation
impl Unpin for RunnerInvocation
impl UnsafeUnpin for RunnerInvocation
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