pub struct HostControls;Expand description
The real service managers of the host this binary was built for.
Trait Implementations§
Source§impl Clone for HostControls
impl Clone for HostControls
Source§impl ControlFactory for HostControls
impl ControlFactory for HostControls
Source§fn control(
&self,
mode: StartMode,
) -> Result<Box<dyn ServiceControl>, ServiceError>
fn control( &self, mode: StartMode, ) -> Result<Box<dyn ServiceControl>, ServiceError>
The control for one start-mode domain. Read more
Source§fn installed_definition(&self, path: &Path) -> Option<String>
fn installed_definition(&self, path: &Path) -> Option<String>
The text of an installed definition file, for drift detection.
None
when there is none to read. The default reads nothing, so a double
never reports the real host’s unit as its own.Source§fn unattended_login(&self) -> Option<UnattendedLogin>
fn unattended_login(&self) -> Option<UnattendedLogin>
Whether this Mac signs somebody in after a restart, and whether
FileVault holds it at the unlock screen.
None where the platform has
no such probe; the default probes nothing, for the same reason as
Self::installed_definition.impl Copy for HostControls
Source§impl Debug for HostControls
impl Debug for HostControls
Auto Trait Implementations§
impl Forget for HostControls
impl Freeze for HostControls
impl RefUnwindSafe for HostControls
impl Send for HostControls
impl Sync for HostControls
impl Unpin for HostControls
impl UnsafeUnpin for HostControls
impl UnwindSafe for HostControls
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