[−][src]Struct supervisor_rs::kindergarten::Kindergarten
Fields
server_config_path: String
Methods
impl Kindergarten
[src]
pub fn new() -> Self
[src]
pub fn register_id(&mut self, id: u32, child: Child, config: Config)
[src]
pub fn register_name(&mut self, name: &String, id: u32)
[src]
pub fn handle_pre_hook(
&mut self,
pre_hook_chain: Vec<(String, String, Config)>
) -> Result<()>
[src]
&mut self,
pre_hook_chain: Vec<(String, String, Config)>
) -> Result<()>
pub fn start(&mut self, name: &String, config: &mut Config) -> Result<()>
[src]
pub fn restart(&mut self, name: &String, config: &mut Config) -> Result<()>
[src]
pub fn stop(&mut self, name: &String) -> Result<()>
[src]
pub fn stop_all(&mut self) -> Result<()>
[src]
pub fn check_around(&mut self) -> Result<()>
[src]
pub fn delete_by_name(&mut self, name: &String) -> Result<()>
[src]
pub fn has_child(&mut self, name: &String) -> Option<&u32>
[src]
pub fn get_child_config(&mut self, name: &String) -> Option<Config>
[src]
pub fn check_status(&mut self, name: &String) -> Result<String>
[src]
Trait Implementations
Auto Trait Implementations
impl Send for Kindergarten
impl Unpin for Kindergarten
impl Sync for Kindergarten
impl UnwindSafe for Kindergarten
impl RefUnwindSafe for Kindergarten
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,