pub struct InvokeOutputReport {
pub events: Vec<InvokeCommandEvent>,
pub counters: InvokeOutputCounters,
}Expand description
Everything retained from one command.invoke output stream, plus
exact accounting.
Fields§
§events: Vec<InvokeCommandEvent>Retained events in arrival order (post truncation policy).
counters: InvokeOutputCountersImplementations§
Source§impl InvokeOutputReport
impl InvokeOutputReport
Sourcepub fn is_limited(&self) -> bool
pub fn is_limited(&self) -> bool
True when any budget limit affected the output.
Sourcepub fn limit_notice(&self) -> Option<InvokeOutputNotice>
pub fn limit_notice(&self) -> Option<InvokeOutputNotice>
Human-readable limit notice with exact totals, or None when the
output was fully retained. severity_error is set when dropped
events included Error events (callers should surface the notice
on their error channel so error visibility is preserved).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InvokeOutputReport
impl RefUnwindSafe for InvokeOutputReport
impl Send for InvokeOutputReport
impl Sync for InvokeOutputReport
impl Unpin for InvokeOutputReport
impl UnsafeUnpin for InvokeOutputReport
impl UnwindSafe for InvokeOutputReport
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
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.