pub struct StdIO;
Expand description
Implementation of EvalIO
that simply uses the equivalent
standard library functions, i.e. does local file-IO.
Trait Implementations§
source§impl EvalIO for StdIO
impl EvalIO for StdIO
source§fn path_exists(&self, path: &Path) -> Result<bool, Error>
fn path_exists(&self, path: &Path) -> Result<bool, Error>
Verify whether the file at the specified path exists. Read more
source§fn read_to_string(&self, path: &Path) -> Result<String, Error>
fn read_to_string(&self, path: &Path) -> Result<String, Error>
Read the file at the specified path to a string. Read more
Auto Trait Implementations§
impl RefUnwindSafe for StdIO
impl Send for StdIO
impl Sync for StdIO
impl Unpin for StdIO
impl UnwindSafe for StdIO
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