Struct dharitri_wasm::contract_base::ErrorHelper
source · pub struct ErrorHelper<M: ManagedTypeApi> { /* private fields */ }
Implementations§
source§impl<M: ManagedTypeApi> ErrorHelper<M>
impl<M: ManagedTypeApi> ErrorHelper<M>
pub fn new_error(&self) -> ManagedSCError<M>
Auto Trait Implementations§
impl<M> RefUnwindSafe for ErrorHelper<M>where
M: RefUnwindSafe,
impl<M> Send for ErrorHelper<M>where
M: Send,
impl<M> Sync for ErrorHelper<M>where
M: Sync,
impl<M> Unpin for ErrorHelper<M>where
M: Unpin,
impl<M> UnwindSafe for ErrorHelper<M>where
M: UnwindSafe,
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