pub enum NetworkState {
None,
Local,
Internet,
}Expand description
O estado da rede (a Ui::network_state).
Variants§
None
Sem rede.
Local
Com rede, sem internet (a rede local, o portal de login do hotel).
Internet
Com internet (o padrão onde o sistema não informa).
Trait Implementations§
Source§impl Clone for NetworkState
impl Clone for NetworkState
impl Copy for NetworkState
Source§impl Debug for NetworkState
impl Debug for NetworkState
Source§impl Default for NetworkState
impl Default for NetworkState
impl Eq for NetworkState
Source§impl Hash for NetworkState
impl Hash for NetworkState
Source§impl PartialEq for NetworkState
impl PartialEq for NetworkState
Source§impl PropEnum for NetworkState
impl PropEnum for NetworkState
impl StructuralPartialEq for NetworkState
Auto Trait Implementations§
impl Forget for NetworkState
impl Freeze for NetworkState
impl Move for NetworkState
impl RefUnwindSafe for NetworkState
impl Send for NetworkState
impl Sync for NetworkState
impl Unpin for NetworkState
impl UnsafeUnpin for NetworkState
impl UnwindSafe for NetworkState
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