pub struct ErrorEnv { /* private fields */ }
Expand description
| A wrapper that allows injection of errors. |
Implementations§
Source§impl ErrorEnv
impl ErrorEnv
pub fn new_writable_file( &mut self, fname: &String, result: *mut *mut dyn WritableFile, ) -> Status
pub fn new_appendable_file( &mut self, fname: &String, result: *mut *mut dyn WritableFile, ) -> Status
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorEnv
impl !RefUnwindSafe for ErrorEnv
impl !Send for ErrorEnv
impl !Sync for ErrorEnv
impl Unpin for ErrorEnv
impl !UnwindSafe for ErrorEnv
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