Struct artichoke_backend::convert::BoxIntoRubyError
source · pub struct BoxIntoRubyError {
pub from: Rust,
pub into: Ruby,
}
Expand description
Failed to convert from Rust type to a boxed Ruby value.
Fields§
§from: Rust
§into: Ruby
Implementations§
Trait Implementations§
source§impl Clone for BoxIntoRubyError
impl Clone for BoxIntoRubyError
source§fn clone(&self) -> BoxIntoRubyError
fn clone(&self) -> BoxIntoRubyError
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 BoxIntoRubyError
impl Debug for BoxIntoRubyError
source§impl Display for BoxIntoRubyError
impl Display for BoxIntoRubyError
source§impl Error for BoxIntoRubyError
impl Error for BoxIntoRubyError
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<BoxIntoRubyError> for Error
impl From<BoxIntoRubyError> for Error
source§fn from(exception: BoxIntoRubyError) -> Self
fn from(exception: BoxIntoRubyError) -> Self
Converts to this type from the input type.
source§impl Hash for BoxIntoRubyError
impl Hash for BoxIntoRubyError
source§impl Ord for BoxIntoRubyError
impl Ord for BoxIntoRubyError
source§fn cmp(&self, other: &BoxIntoRubyError) -> Ordering
fn cmp(&self, other: &BoxIntoRubyError) -> 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<BoxIntoRubyError> for BoxIntoRubyError
impl PartialEq<BoxIntoRubyError> for BoxIntoRubyError
source§fn eq(&self, other: &BoxIntoRubyError) -> bool
fn eq(&self, other: &BoxIntoRubyError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<BoxIntoRubyError> for BoxIntoRubyError
impl PartialOrd<BoxIntoRubyError> for BoxIntoRubyError
source§fn partial_cmp(&self, other: &BoxIntoRubyError) -> Option<Ordering>
fn partial_cmp(&self, other: &BoxIntoRubyError) -> 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 BoxIntoRubyError
impl RubyException for BoxIntoRubyError
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
.