pub struct DummyIO;
Expand description
Dummy implementation of EvalIO
, can be used in contexts where
IO is not available but code should “pretend” that it is.
Trait Implementations§
source§impl EvalIO for DummyIO
impl EvalIO for DummyIO
source§fn path_exists(&self, _: &Path) -> Result<bool, Error>
fn path_exists(&self, _: &Path) -> Result<bool, Error>
Verify whether the file at the specified path exists. Read more
source§fn read_to_string(&self, _: &Path) -> Result<String, Error>
fn read_to_string(&self, _: &Path) -> Result<String, Error>
Read the file at the specified path to a string. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DummyIO
impl Send for DummyIO
impl Sync for DummyIO
impl Unpin for DummyIO
impl UnwindSafe for DummyIO
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