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