pub enum Outcome {
AsIfAbsent,
Denied {
reason: String,
},
Default(ClassDefault),
Discarded {
code: SpeechCode,
grant: Option<Grant>,
},
}Expand description
What one subscriber’s reply resolves to.
Variants§
AsIfAbsent
An observation (ack / next / abstain), or a defect whose reply was discarded: this subscriber contributes no verdict, exactly as if absent (§5.2).
Denied
A valid veto reply — the subscriber holds the grant and answered in the hook’s mode.
Default(ClassDefault)
Unreachability resolved to the grant-keyed default (§11.1).
Discarded
A speech defect: discarded, but recorded for the hook-discard
audit line (§10.6) — audited as a defection, never as a lapse.
Trait Implementations§
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Forget for Outcome
impl Freeze for Outcome
impl Move for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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