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