Struct smf::AdmRestart [−][src]
pub struct AdmRestart<'a> { /* fields omitted */ }
Created by Adm::restart, restarts the service instance(s).
Implementations
impl<'a> AdmRestart<'a>
[src]
impl<'a> AdmRestart<'a>
[src]pub fn abort(&mut self) -> &mut Self
[src]
pub fn abort(&mut self) -> &mut Self
[src]Requests that the restarter should send a SIGABRT
signal
to all members of the contract before restarting the service.
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.