Struct spacetimedb_lib::error::TestError
source · pub struct TestError {
pub error: Box<dyn Error>,
}Expand description
A wrapper for using on test so the error display nicely
Fields§
§error: Box<dyn Error>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TestError
impl !Send for TestError
impl !Sync for TestError
impl Unpin for TestError
impl !UnwindSafe for TestError
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