Struct NetworkConnectivityLevel
#[repr(transparent)]pub struct NetworkConnectivityLevel(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl NetworkConnectivityLevel
impl NetworkConnectivityLevel
pub const None: Self = _
pub const LocalAccess: Self = _
pub const ConstrainedInternetAccess: Self = _
pub const InternetAccess: Self = _
Trait Implementations§
§impl Clone for NetworkConnectivityLevel
impl Clone for NetworkConnectivityLevel
§fn clone(&self) -> NetworkConnectivityLevel
fn clone(&self) -> NetworkConnectivityLevel
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 more§impl Debug for NetworkConnectivityLevel
impl Debug for NetworkConnectivityLevel
§impl Default for NetworkConnectivityLevel
impl Default for NetworkConnectivityLevel
§fn default() -> NetworkConnectivityLevel
fn default() -> NetworkConnectivityLevel
Returns the “default value” for a type. Read more
§impl PartialEq for NetworkConnectivityLevel
impl PartialEq for NetworkConnectivityLevel
impl Copy for NetworkConnectivityLevel
impl Eq for NetworkConnectivityLevel
impl StructuralPartialEq for NetworkConnectivityLevel
Auto Trait Implementations§
impl Freeze for NetworkConnectivityLevel
impl RefUnwindSafe for NetworkConnectivityLevel
impl Send for NetworkConnectivityLevel
impl Sync for NetworkConnectivityLevel
impl Unpin for NetworkConnectivityLevel
impl UnwindSafe for NetworkConnectivityLevel
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