Struct artichoke_backend::convert::UnboxRubyError
source · 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)>
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<UnboxRubyError> for UnboxRubyError
impl PartialEq<UnboxRubyError> for UnboxRubyError
source§fn eq(&self, other: &UnboxRubyError) -> bool
fn eq(&self, other: &UnboxRubyError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<UnboxRubyError> for UnboxRubyError
impl PartialOrd<UnboxRubyError> for UnboxRubyError
source§fn partial_cmp(&self, other: &UnboxRubyError) -> Option<Ordering>
fn partial_cmp(&self, other: &UnboxRubyError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§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
.