HostRegistry

Type Alias HostRegistry 

Source
pub(super) type HostRegistry = Mutex<HashMap<Url, HostState>>;
Expand description

Keeps track of hosts and their current state. Prevents race conditions where multiple threads are simultaneously trying to change the state of a given host.

Aliased Typeยง

pub(super) struct HostRegistry { /* private fields */ }