pub struct StealthProfile {Show 21 fields
pub tls: TlsFingerprint,
pub http2: Http2Fingerprint,
pub canvas: CanvasNoise,
pub navigator: NavigatorProfile,
pub screen: ScreenProfile,
pub webgl: WebGLProfile,
pub audio: AudioProfile,
pub behavior: BehaviorSimulator,
pub font: FontConfig,
pub battery: BatteryConfig,
pub webrtc_mode: WebRtcMode,
pub timing: TimingConfig,
pub clientrects: ClientRectsConfig,
pub screen_display: ScreenDisplayConfig,
pub plugin: PluginConfig,
pub speech: SpeechConfig,
pub media_devices: MediaDevicesConfig,
pub permissions: PermissionsConfig,
pub webgl_context: WebGLContextConfig,
pub connection: ConnectionConfig,
pub iframe: IframeConfig,
}Fields§
§tls: TlsFingerprint§http2: Http2Fingerprint§canvas: CanvasNoise§screen: ScreenProfile§webgl: WebGLProfile§audio: AudioProfile§behavior: BehaviorSimulator§font: FontConfig§battery: BatteryConfig§webrtc_mode: WebRtcMode§timing: TimingConfig§clientrects: ClientRectsConfig§screen_display: ScreenDisplayConfig§plugin: PluginConfig§speech: SpeechConfig§media_devices: MediaDevicesConfig§permissions: PermissionsConfig§webgl_context: WebGLContextConfig§connection: ConnectionConfig§iframe: IframeConfigImplementations§
Source§impl StealthProfile
impl StealthProfile
pub fn firefox_default() -> StealthProfile
pub fn chrome_default() -> StealthProfile
Trait Implementations§
Source§impl Clone for StealthProfile
impl Clone for StealthProfile
Source§fn clone(&self) -> StealthProfile
fn clone(&self) -> StealthProfile
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StealthProfile
impl Debug for StealthProfile
Source§impl From<&StealthProfile> for WorkerScopeConfig
impl From<&StealthProfile> for WorkerScopeConfig
Source§fn from(profile: &StealthProfile) -> WorkerScopeConfig
fn from(profile: &StealthProfile) -> WorkerScopeConfig
Convert a StealthProfile into a WorkerScopeConfig for Dedicated Worker inheritance.
Ensures the Worker thread sees identical navigator/Canvas/WebGL/Audio fingerprint values as the parent page. @trace REQ-BRW-004 [criterion:12] CRIT-STL-WK navigator 一致
Source§fn from(profile: &StealthProfile) -> SharedWorkerScopeConfig
fn from(profile: &StealthProfile) -> SharedWorkerScopeConfig
Convert a StealthProfile into a SharedWorkerScopeConfig for Shared Worker inheritance.
DF-WK-9: SharedWorkerGlobalScope inherits the first connecting page’s profile. @trace REQ-BRW-004 [entity:SharedWorkerGlobalScope] [criterion:12] CRIT-STL-WK navigator 一致
Source§impl From<&StealthProfile> for ServiceWorkerScopeConfig
impl From<&StealthProfile> for ServiceWorkerScopeConfig
Source§fn from(profile: &StealthProfile) -> ServiceWorkerScopeConfig
fn from(profile: &StealthProfile) -> ServiceWorkerScopeConfig
Convert a StealthProfile into a ServiceWorkerScopeConfig for Service Worker inheritance.
DF-WK-10: ServiceWorkerGlobalScope inherits the registering page’s profile. Per SPEC criterion #19: SW-intercepted fetch must use the same stealth profile. @trace REQ-BRW-004 [entity:ServiceWorkerGlobalScope] [criterion:19] DF-WK-10
Auto Trait Implementations§
impl !Freeze for StealthProfile
impl RefUnwindSafe for StealthProfile
impl Send for StealthProfile
impl Sync for StealthProfile
impl Unpin for StealthProfile
impl UnsafeUnpin for StealthProfile
impl UnwindSafe for StealthProfile
Blanket Implementations§
Source§impl<T> AsCtxPtr for Twhere
T: ?Sized,
impl<T> AsCtxPtr for Twhere
T: ?Sized,
Source§fn as_ctx_ptr(&self) -> *mut Selfwhere
Self: Sized,
fn as_ctx_ptr(&self) -> *mut Selfwhere
Self: Sized,
self’s address as *mut Self for deferred-task / scopeguard /
ref_guard ctx slots. The closures/trampolines deref it as shared
(&*p) — every method they reach is &self post-R-2, so no write
provenance is required; the *mut spelling is purely to match the
existing DerefOnDrop / HasAutoFlush / RefCount ABI.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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Filterable for T
impl<T> Filterable for T
Source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more