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)>
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<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 for BoxIntoRubyError
impl PartialEq for BoxIntoRubyError
Source§impl PartialOrd for BoxIntoRubyError
impl PartialOrd for BoxIntoRubyError
Source§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
.impl Copy for BoxIntoRubyError
impl Eq for BoxIntoRubyError
impl StructuralPartialEq for BoxIntoRubyError
Auto Trait Implementations§
impl Freeze for BoxIntoRubyError
impl RefUnwindSafe for BoxIntoRubyError
impl Send for BoxIntoRubyError
impl Sync for BoxIntoRubyError
impl Unpin for BoxIntoRubyError
impl UnwindSafe for BoxIntoRubyError
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