pub struct TlsProfilePack {
pub profile: &'static TlsProfile,
pub metadata: ProfileMetadata,
}Expand description
A versioned TLS profile bundle pairing a TlsProfile with its
ProfileMetadata.
§Example
use stygian_browser::tls::{PACK_CHROME_131, ProfileChannel};
let pack = ProfileChannel::ChromeLatest.resolve(None).unwrap();
assert_eq!(pack.profile.name, "Chrome 131");
assert!(pack.metadata.h2_support);
println!("{}", pack.metadata.provenance());Fields§
§profile: &'static TlsProfileThe TLS fingerprint profile.
metadata: ProfileMetadataProvenance and capability metadata.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TlsProfilePack
impl RefUnwindSafe for TlsProfilePack
impl Send for TlsProfilePack
impl Sync for TlsProfilePack
impl Unpin for TlsProfilePack
impl UnsafeUnpin for TlsProfilePack
impl UnwindSafe for TlsProfilePack
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