pub struct ExecutionGate {
pub blockers: Vec<BlockReason>,
pub warnings: Vec<CompatWarning>,
}Expand description
Aggregate result of the shared compatibility execution gate.
Fields§
§blockers: Vec<BlockReason>Reasons that prevent startup, in stable order.
warnings: Vec<CompatWarning>Benign warnings that do not block startup.
Implementations§
Source§impl ExecutionGate
impl ExecutionGate
Sourcepub fn allows_start(&self) -> bool
pub fn allows_start(&self) -> bool
Returns true when no blocker prevents startup.
Sourcepub fn blocker_summary(&self) -> String
pub fn blocker_summary(&self) -> String
Render blockers as a stable, human-readable summary.
Trait Implementations§
Source§impl Clone for ExecutionGate
impl Clone for ExecutionGate
Source§fn clone(&self) -> ExecutionGate
fn clone(&self) -> ExecutionGate
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 ExecutionGate
impl Debug for ExecutionGate
Source§impl PartialEq for ExecutionGate
impl PartialEq for ExecutionGate
impl StructuralPartialEq for ExecutionGate
Auto Trait Implementations§
impl Freeze for ExecutionGate
impl RefUnwindSafe for ExecutionGate
impl Send for ExecutionGate
impl Sync for ExecutionGate
impl Unpin for ExecutionGate
impl UnsafeUnpin for ExecutionGate
impl UnwindSafe for ExecutionGate
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