pub struct ExceptionInfo { /* private fields */ }Implementations§
Source§impl ExceptionInfo
impl ExceptionInfo
pub fn new( error: ValueError, message: String, data: Option<MapValue>, cause: Option<GcPtr<ExceptionInfo>>, ) -> Self
pub fn to_map(&self) -> ValueResult<Value>
pub fn message(&self) -> String
pub fn data(&self) -> Option<MapValue>
pub fn cause(&self) -> Option<GcPtr<ExceptionInfo>>
Trait Implementations§
Source§impl ClojureHash for ExceptionInfo
impl ClojureHash for ExceptionInfo
fn clojure_hash(&self) -> u32
Source§impl Clone for ExceptionInfo
impl Clone for ExceptionInfo
Source§fn clone(&self) -> ExceptionInfo
fn clone(&self) -> ExceptionInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExceptionInfo
impl Debug for ExceptionInfo
Source§impl Trace for ExceptionInfo
impl Trace for ExceptionInfo
fn trace(&self, visitor: &mut MarkVisitor)
fn gc_size_extra(&self) -> usize
Auto Trait Implementations§
impl !RefUnwindSafe for ExceptionInfo
impl !Send for ExceptionInfo
impl !Sync for ExceptionInfo
impl !UnwindSafe for ExceptionInfo
impl Freeze for ExceptionInfo
impl Unpin for ExceptionInfo
impl UnsafeUnpin for ExceptionInfo
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