pub struct EggressProcess { /* private fields */ }Implementations§
Source§impl EggressProcess
impl EggressProcess
pub async fn start_from_toml( config: &EggressRunnerConfig, toml_config: &str, ) -> Result<Self, EggressRunnerError>
pub async fn start_from_args( config: &EggressRunnerConfig, args: &[&str], ) -> Result<Self, EggressRunnerError>
pub fn addr(&self) -> SocketAddr
pub async fn shutdown(&mut self) -> Result<(), EggressRunnerError>
pub fn stdout_lines(&self) -> &[String]
pub fn stderr_lines(&self) -> &[String]
Trait Implementations§
Source§impl Drop for EggressProcess
impl Drop for EggressProcess
Auto Trait Implementations§
impl Freeze for EggressProcess
impl RefUnwindSafe for EggressProcess
impl Send for EggressProcess
impl Sync for EggressProcess
impl Unpin for EggressProcess
impl UnsafeUnpin for EggressProcess
impl UnwindSafe for EggressProcess
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