pub enum ObservedOutcome<'state> {
Response(&'state DefenseState),
NoResponse,
}Expand description
The outcome of one execution turn, from the projection’s point of view.
Only an actual response carries a DefenseState. Transport failures,
timeouts, and connection errors are ObservedOutcome::NoResponse and yield
no defense evidence, so they can never be learned as a defensive signal.
Variants§
Response(&'state DefenseState)
A response was received and observed into a defense state.
NoResponse
No response was received (timeout, connection failure, not applicable).
Trait Implementations§
Source§impl<'state> Clone for ObservedOutcome<'state>
impl<'state> Clone for ObservedOutcome<'state>
Source§fn clone(&self) -> ObservedOutcome<'state>
fn clone(&self) -> ObservedOutcome<'state>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'state> Copy for ObservedOutcome<'state>
Auto Trait Implementations§
impl<'state> Freeze for ObservedOutcome<'state>
impl<'state> RefUnwindSafe for ObservedOutcome<'state>
impl<'state> Send for ObservedOutcome<'state>
impl<'state> Sync for ObservedOutcome<'state>
impl<'state> Unpin for ObservedOutcome<'state>
impl<'state> UnsafeUnpin for ObservedOutcome<'state>
impl<'state> UnwindSafe for ObservedOutcome<'state>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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