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