pub enum Platform {
MacOsArm,
MacOsX86,
WindowsX64,
LinuxX64,
}Expand description
Target operating system and CPU architecture.
The platform determines OS-specific protocol parameters (ALPS payload
length, User-Agent string, Client Hint values) and is used by
chrome_134::profile_auto to align the network persona with the
host kernel’s TCP/IP characteristics.
Variants§
MacOsArm
macOS on Apple Silicon (M1/M2/M3/M4).
MacOsX86
macOS on Intel x86-64.
WindowsX64
Windows 10/11 on x86-64.
LinuxX64
Linux (Ubuntu, Debian, etc.) on x86-64.
Trait Implementations§
impl Copy for Platform
impl Eq for Platform
impl StructuralPartialEq for Platform
Auto Trait Implementations§
impl Freeze for Platform
impl RefUnwindSafe for Platform
impl Send for Platform
impl Sync for Platform
impl Unpin for Platform
impl UnsafeUnpin for Platform
impl UnwindSafe for Platform
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,
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.