pub enum MeteredSetting {
Undecided = 0,
Yes = 1,
No = 2,
}Expand description
The connection.metered setting.
This is the same as MeteredStatus internally to NetworkManager, but is exposed as a
different type in this API to differentiate between the setting and the actual metered status.
Variants§
Trait Implementations§
source§impl Clone for MeteredSetting
impl Clone for MeteredSetting
source§fn clone(&self) -> MeteredSetting
fn clone(&self) -> MeteredSetting
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 MeteredSetting
impl Debug for MeteredSetting
impl Copy for MeteredSetting
Auto Trait Implementations§
impl RefUnwindSafe for MeteredSetting
impl Send for MeteredSetting
impl Sync for MeteredSetting
impl Unpin for MeteredSetting
impl UnwindSafe for MeteredSetting
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