#[non_exhaustive]pub enum TransportTier {
Http,
Impersonate,
Browser,
}Expand description
Which transport actually produced an outcome.
Stamped on every CheckOutcome so downstream
tools (the doctor, the bench harness, the web UI) can tell whether the
HTTP path was enough, whether impersonation was needed, or whether the
scan reached for the browser. Option<TransportTier> in the outcome
keeps older persisted JSON parseable.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Http
Plain reqwest HTTP path (the default cheap transport).
Impersonate
wreq with Chrome 134 TLS-fingerprint emulation, behind the
impersonate Cargo feature.
Browser
Headless browser via BrowserBackend.
Implementations§
Trait Implementations§
Source§impl Clone for TransportTier
impl Clone for TransportTier
Source§fn clone(&self) -> TransportTier
fn clone(&self) -> TransportTier
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 TransportTier
Source§impl Debug for TransportTier
impl Debug for TransportTier
Source§impl<'de> Deserialize<'de> for TransportTier
impl<'de> Deserialize<'de> for TransportTier
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 Display for TransportTier
impl Display for TransportTier
impl Eq for TransportTier
Source§impl Hash for TransportTier
impl Hash for TransportTier
Source§impl PartialEq for TransportTier
impl PartialEq for TransportTier
Source§fn eq(&self, other: &TransportTier) -> bool
fn eq(&self, other: &TransportTier) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TransportTier
impl Serialize for TransportTier
impl StructuralPartialEq for TransportTier
Auto Trait Implementations§
impl Freeze for TransportTier
impl RefUnwindSafe for TransportTier
impl Send for TransportTier
impl Sync for TransportTier
impl Unpin for TransportTier
impl UnsafeUnpin for TransportTier
impl UnwindSafe for TransportTier
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.