pub enum SignalSurface {
Status,
Body,
Headers,
Timing,
Composite,
}Expand description
Primary surface a technique’s contradiction is evaluated on.
Used by the surface_relevance modifier to detect when a SameStatus contradiction is
mis-surfaced — i.e., the technique declares Status as its surface but the actual
differential is on the body or headers, meaning the Contradictory conclusion based on
status equality is wrong.
Variants§
Status
Status code is the primary differential.
Body
Response body is the primary differential.
Headers
Response headers are the primary differential.
Timing
Response timing is the primary differential.
Composite
Multiple surfaces — no single surface dominates.
Trait Implementations§
Source§impl Clone for SignalSurface
impl Clone for SignalSurface
Source§fn clone(&self) -> SignalSurface
fn clone(&self) -> SignalSurface
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 SignalSurface
impl Debug for SignalSurface
Source§impl<'de> Deserialize<'de> for SignalSurface
impl<'de> Deserialize<'de> for SignalSurface
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for SignalSurface
impl Hash for SignalSurface
Source§impl PartialEq for SignalSurface
impl PartialEq for SignalSurface
Source§fn eq(&self, other: &SignalSurface) -> bool
fn eq(&self, other: &SignalSurface) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SignalSurface
impl Serialize for SignalSurface
impl Copy for SignalSurface
impl Eq for SignalSurface
impl StructuralPartialEq for SignalSurface
Auto Trait Implementations§
impl Freeze for SignalSurface
impl RefUnwindSafe for SignalSurface
impl Send for SignalSurface
impl Sync for SignalSurface
impl Unpin for SignalSurface
impl UnsafeUnpin for SignalSurface
impl UnwindSafe for SignalSurface
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