pub struct Reasoner { /* private fields */ }Expand description
See: https://asimov-specs.github.io/program-patterns/#reasoner
Implementations§
Source§impl Reasoner
impl Reasoner
pub fn new( program: impl AsRef<OsStr>, input: GraphInput, output: GraphOutput, options: ReasonerOptions, ) -> Self
pub async fn execute(&mut self) -> ReasonerResult
Trait Implementations§
impl Reasoner<Cursor<Vec<u8>>, ExecutorError> for Reasoner
Auto Trait Implementations§
impl Freeze for Reasoner
impl !RefUnwindSafe for Reasoner
impl Send for Reasoner
impl Sync for Reasoner
impl Unpin for Reasoner
impl !UnwindSafe for Reasoner
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