pub struct AcceptOutcome {
pub accepted: bool,
pub report: AcceptReport,
pub reject_reason: Option<RejectReason>,
}Expand description
Result of running the accept predicate over one patched, passing compile.
Fields§
§accepted: boolTrue only when every live guard passed.
report: AcceptReportPer-guard outcomes.
reject_reason: Option<RejectReason>The first guard rejection, when one fired.
Trait Implementations§
Source§impl Clone for AcceptOutcome
impl Clone for AcceptOutcome
Source§fn clone(&self) -> AcceptOutcome
fn clone(&self) -> AcceptOutcome
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 moreSource§impl Debug for AcceptOutcome
impl Debug for AcceptOutcome
impl Eq for AcceptOutcome
Source§impl PartialEq for AcceptOutcome
impl PartialEq for AcceptOutcome
Source§fn eq(&self, other: &AcceptOutcome) -> bool
fn eq(&self, other: &AcceptOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AcceptOutcome
Auto Trait Implementations§
impl Freeze for AcceptOutcome
impl RefUnwindSafe for AcceptOutcome
impl Send for AcceptOutcome
impl Sync for AcceptOutcome
impl Unpin for AcceptOutcome
impl UnsafeUnpin for AcceptOutcome
impl UnwindSafe for AcceptOutcome
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