Struct passcod_networkmanager::device::AppliedConnection
source · pub struct AppliedConnection {
pub settings: HashMap<String, HashMap<String, OwnedValue>>,
pub version: u64,
}Expand description
The currently applied connection on the device.
Obtained from Device::get_applied_connection().
Fields§
§settings: HashMap<String, HashMap<String, OwnedValue>>The effective connection settings that the connection has currently applied.
version: u64The version ID of the currently applied connection.
This can be specified during Device::reapply() to avoid races where you first fetch the
applied connection, modify it and try to reapply it. If the applied connection is
modified in the meantime, the version gets incremented and the reapply will fail.
Auto Trait Implementations§
impl RefUnwindSafe for AppliedConnection
impl Send for AppliedConnection
impl Sync for AppliedConnection
impl Unpin for AppliedConnection
impl UnwindSafe for AppliedConnection
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