pub enum PrefixCheck {
Stable,
Repinned {
reason: String,
change: PrefixChange,
},
Drift {
change: PrefixChange,
},
}Expand description
Outcome of PrefixStabilityManager::check.
Variants§
Stable
The request prefix matches the pin byte-for-byte.
Repinned
The prefix changed and the engine declared why; the pin moved.
Drift
The prefix changed with no declared reason. The pin did NOT move.
Fields
§
change: PrefixChangeTrait Implementations§
Source§impl Clone for PrefixCheck
impl Clone for PrefixCheck
Source§fn clone(&self) -> PrefixCheck
fn clone(&self) -> PrefixCheck
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 moreAuto Trait Implementations§
impl Freeze for PrefixCheck
impl RefUnwindSafe for PrefixCheck
impl Send for PrefixCheck
impl Sync for PrefixCheck
impl Unpin for PrefixCheck
impl UnsafeUnpin for PrefixCheck
impl UnwindSafe for PrefixCheck
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