pub struct UnitResult {
pub unit_id: String,
pub evidence: Evidence,
pub close: CloseOutcome,
}Expand description
The result of closing a single unit (after its session produced a TerminationReason event).
Fields§
§unit_id: StringThe unit’s identifier.
evidence: EvidenceTermination evidence that drove the close decision.
close: CloseOutcomeWhat the queue did when asked to close the unit.
Auto Trait Implementations§
impl Freeze for UnitResult
impl RefUnwindSafe for UnitResult
impl Send for UnitResult
impl Sync for UnitResult
impl Unpin for UnitResult
impl UnsafeUnpin for UnitResult
impl UnwindSafe for UnitResult
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