pub struct RubyException { /* private fields */ }Expand description
A simple wrapper around a Ruby exception that provides some convenience methods for testing.
Implementations§
Source§impl RubyException
impl RubyException
Sourcepub fn full_message(&self) -> Option<String>
pub fn full_message(&self) -> Option<String>
Get the full message of the Ruby exception.
Trait Implementations§
Source§impl Clone for RubyException
impl Clone for RubyException
Source§fn clone(&self) -> RubyException
fn clone(&self) -> RubyException
Returns a duplicate of the value. Read more
1.0.0 · 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 RubyException
impl Debug for RubyException
Source§impl PartialEq for RubyException
impl PartialEq for RubyException
impl Eq for RubyException
impl StructuralPartialEq for RubyException
Auto Trait Implementations§
impl Freeze for RubyException
impl RefUnwindSafe for RubyException
impl Send for RubyException
impl Sync for RubyException
impl Unpin for RubyException
impl UnwindSafe for RubyException
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