pub enum SuppressionReason {
OptOut(&'static str),
ContinuousIntegration(&'static str),
}Expand description
Why an update check was skipped without contacting the network.
Variants§
OptOut(&'static str)
The user (or a wrapper script) set an opt-out variable.
ContinuousIntegration(&'static str)
A CI marker variable is set.
Implementations§
Trait Implementations§
Source§impl Clone for SuppressionReason
impl Clone for SuppressionReason
Source§fn clone(&self) -> SuppressionReason
fn clone(&self) -> SuppressionReason
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 Copy for SuppressionReason
Source§impl Debug for SuppressionReason
impl Debug for SuppressionReason
impl Eq for SuppressionReason
Source§impl PartialEq for SuppressionReason
impl PartialEq for SuppressionReason
impl StructuralPartialEq for SuppressionReason
Auto Trait Implementations§
impl Freeze for SuppressionReason
impl RefUnwindSafe for SuppressionReason
impl Send for SuppressionReason
impl Sync for SuppressionReason
impl Unpin for SuppressionReason
impl UnsafeUnpin for SuppressionReason
impl UnwindSafe for SuppressionReason
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