pub struct ErrorHelper<M: ManagedTypeApi> { /* private fields */ }
Implementations§
Source§impl<M: ManagedTypeApi> ErrorHelper<M>
impl<M: ManagedTypeApi> ErrorHelper<M>
pub fn new() -> Self
pub fn new_error(&self) -> ManagedSCError<M>
pub fn signal_error_with_message<T>(message: T) -> !where
T: IntoSignalError<M>,
Trait Implementations§
Source§impl<M: Default + ManagedTypeApi> Default for ErrorHelper<M>
impl<M: Default + ManagedTypeApi> Default for ErrorHelper<M>
Source§fn default() -> ErrorHelper<M>
fn default() -> ErrorHelper<M>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<M> Freeze for ErrorHelper<M>
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