pub struct Detected(/* private fields */);Expand description
Detection results, probed once per client and run.
Implementations§
Source§impl Detected
impl Detected
Sourcepub fn system_clients(
&mut self,
cx: &RenderCx<'_>,
desired: &DesiredState,
server: &Server,
) -> Vec<String>
pub fn system_clients( &mut self, cx: &RenderCx<'_>, desired: &DesiredState, server: &Server, ) -> Vec<String>
The clients server is written for at system scope on this machine,
as system_entries picks them: its selection resolved by
Detected::select (forced on in clients.toml, detected, fitting
its transport), minus machine exclusions, entries this machine
released and clients.toml opt-outs.
Empty when the server names no clients.
Sourcepub fn project_selection(
&mut self,
cx: &RenderCx<'_>,
desired: &DesiredState,
entry: &ProjectEntry,
) -> Vec<String>
pub fn project_selection( &mut self, cx: &RenderCx<'_>, desired: &DesiredState, entry: &ProjectEntry, ) -> Vec<String>
The clients project entry names on this machine, before machine
exclusions: its selection (the entry’s clients, else the project’s
defaults) resolved by Detected::select for the transport of its
definition, or for a suppression the transport of the store server
it hides. An entry whose definition does not resolve fits no
transport, so all-detected names no client for it.
Sourcepub fn project_clients(
&mut self,
cx: &RenderCx<'_>,
desired: &DesiredState,
entry: &ProjectEntry,
) -> Vec<String>
pub fn project_clients( &mut self, cx: &RenderCx<'_>, desired: &DesiredState, entry: &ProjectEntry, ) -> Vec<String>
The clients project entry is written for on this machine, as the
planner picks them: Detected::project_selection minus machine
exclusions and clients.toml opt-outs.