pub struct QangRuntimeError {
pub message: String,
pub stack_trace: Vec<Trace>,
}Fields§
§message: String§stack_trace: Vec<Trace>Implementations§
Source§impl QangRuntimeError
impl QangRuntimeError
pub fn new(message: String, loc: SourceLocation) -> Self
pub fn with_stack_trace(self, stack_trace: Vec<Trace>) -> Self
Trait Implementations§
Source§impl Clone for QangRuntimeError
impl Clone for QangRuntimeError
Source§impl Debug for QangRuntimeError
impl Debug for QangRuntimeError
Source§impl Display for QangRuntimeError
impl Display for QangRuntimeError
Source§impl Error for QangRuntimeError
impl Error for QangRuntimeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for QangRuntimeError
impl PartialEq for QangRuntimeError
impl StructuralPartialEq for QangRuntimeError
Auto Trait Implementations§
impl Freeze for QangRuntimeError
impl RefUnwindSafe for QangRuntimeError
impl Send for QangRuntimeError
impl Sync for QangRuntimeError
impl Unpin for QangRuntimeError
impl UnsafeUnpin for QangRuntimeError
impl UnwindSafe for QangRuntimeError
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