pub struct Engine {
pub stdin: EngineStdin,
pub stdout: EngineStdout,
pub stderr: Option<ChildStderr>,
pub child_process: Child,
}Expand description
An instance of the KataGo analysis engine, launched as a child process.
Fields§
§stdin: EngineStdinSends requests to the analysis engine.
Drop this to close the engine’s stdin and request KataGo to exit.
stdout: EngineStdout§stderr: Option<ChildStderr>The analysis engine’s stderr output, if available.
child_process: ChildThe engine process.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Engine
impl !RefUnwindSafe for Engine
impl Send for Engine
impl Sync for Engine
impl Unpin for Engine
impl UnsafeUnpin for Engine
impl !UnwindSafe for Engine
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