Struct smf::AdmClear [−][src]
pub struct AdmClear<'a> { /* fields omitted */ }
Created by Adm::clear, clears services in a degraded
/maintenance
state.
Signals to the restarter that a service instance has been repaired. If the instance is degraded, requests that the restarter takes the service to the online state.
Implementations
impl<'a> AdmClear<'a>
[src]
impl<'a> AdmClear<'a>
[src]pub fn run<S, I>(
&mut self,
selection: AdmSelection<S, I>
) -> Result<(), AdmError> where
S: AsRef<str>,
I: IntoIterator<Item = S>,
[src]
pub fn run<S, I>(
&mut self,
selection: AdmSelection<S, I>
) -> Result<(), AdmError> where
S: AsRef<str>,
I: IntoIterator<Item = S>,
[src]Runs the command.