pub enum ConnectionType {
None,
Cellular2g,
Cellular3g,
Cellular4g,
Bluetooth,
Ethernet,
Wifi,
Wimax,
Other,
}Expand description
The underlying connection technology that the browser is supposedly using.
Variants§
Trait Implementations§
source§impl AsRef<str> for ConnectionType
impl AsRef<str> for ConnectionType
source§impl Clone for ConnectionType
impl Clone for ConnectionType
source§fn clone(&self) -> ConnectionType
fn clone(&self) -> ConnectionType
Returns a copy of the value. Read more
1.0.0 · 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 ConnectionType
impl Debug for ConnectionType
source§impl<'de> Deserialize<'de> for ConnectionType
impl<'de> Deserialize<'de> for ConnectionType
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 FromStr for ConnectionType
impl FromStr for ConnectionType
source§impl Hash for ConnectionType
impl Hash for ConnectionType
source§impl PartialEq<ConnectionType> for ConnectionType
impl PartialEq<ConnectionType> for ConnectionType
source§fn eq(&self, other: &ConnectionType) -> bool
fn eq(&self, other: &ConnectionType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ConnectionType
impl Serialize for ConnectionType
impl Eq for ConnectionType
impl StructuralEq for ConnectionType
impl StructuralPartialEq for ConnectionType
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionType
impl Send for ConnectionType
impl Sync for ConnectionType
impl Unpin for ConnectionType
impl UnwindSafe for ConnectionType
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