pub struct UnboxRubyError {
pub from: Ruby,
pub into: Rust,
}
Expand description
Failed to convert from boxed Ruby value to a Rust type.
Fields§
§from: Ruby
§into: Rust
Implementations§
Trait Implementations§
Source§impl Clone for UnboxRubyError
impl Clone for UnboxRubyError
Source§fn clone(&self) -> UnboxRubyError
fn clone(&self) -> UnboxRubyError
Returns a copy 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 UnboxRubyError
impl Debug for UnboxRubyError
Source§impl Display for UnboxRubyError
impl Display for UnboxRubyError
Source§impl Error for UnboxRubyError
impl Error for UnboxRubyError
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 From<UnboxRubyError> for Error
impl From<UnboxRubyError> for Error
Source§fn from(exception: UnboxRubyError) -> Self
fn from(exception: UnboxRubyError) -> Self
Converts to this type from the input type.
Source§impl Hash for UnboxRubyError
impl Hash for UnboxRubyError
Source§impl Ord for UnboxRubyError
impl Ord for UnboxRubyError
Source§fn cmp(&self, other: &UnboxRubyError) -> Ordering
fn cmp(&self, other: &UnboxRubyError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UnboxRubyError
impl PartialEq for UnboxRubyError
Source§impl PartialOrd for UnboxRubyError
impl PartialOrd for UnboxRubyError
Source§impl RubyException for UnboxRubyError
impl RubyException for UnboxRubyError
Source§fn vm_backtrace(&self, interp: &mut Artichoke) -> Option<Vec<Vec<u8>>>
fn vm_backtrace(&self, interp: &mut Artichoke) -> Option<Vec<Vec<u8>>>
Optional backtrace specified by a
Vec
of frames.Source§fn as_mrb_value(&self, interp: &mut Artichoke) -> Option<mrb_value>
fn as_mrb_value(&self, interp: &mut Artichoke) -> Option<mrb_value>
Return a raise-able
sys::mrb_value
.impl Copy for UnboxRubyError
impl Eq for UnboxRubyError
impl StructuralPartialEq for UnboxRubyError
Auto Trait Implementations§
impl Freeze for UnboxRubyError
impl RefUnwindSafe for UnboxRubyError
impl Send for UnboxRubyError
impl Sync for UnboxRubyError
impl Unpin for UnboxRubyError
impl UnwindSafe for UnboxRubyError
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