Struct near_vm_errors::AnyError
source · [−]pub struct AnyError { /* private fields */ }
Expand description
Type-erased error used to shuttle some concrete error coming from External
through vm-logic.
The caller is supposed to downcast this to a concrete error type they should
know. This would be just Box<dyn Any + Eq>
if the latter actually worked.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AnyError
impl Send for AnyError
impl Sync for AnyError
impl Unpin for AnyError
impl !UnwindSafe for AnyError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more