pub struct ScriptRunReport {
pub state: TransactionState,
pub failures: Vec<ScriptFailure>,
}Expand description
Aggregate output of a batch run_scripts call. state is the final
TransactionState after every script that succeeded was applied;
failures lists every script that errored (in execution order).
Failures don’t abort the run — successive scripts still see the
state mutations from previous successful ones.
Fields§
§state: TransactionState§failures: Vec<ScriptFailure>Auto Trait Implementations§
impl Freeze for ScriptRunReport
impl RefUnwindSafe for ScriptRunReport
impl Send for ScriptRunReport
impl Sync for ScriptRunReport
impl Unpin for ScriptRunReport
impl UnsafeUnpin for ScriptRunReport
impl UnwindSafe for ScriptRunReport
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more