pub struct ConstantNameError(/* private fields */);
Implementations§
Trait Implementations§
Source§impl Clone for ConstantNameError
impl Clone for ConstantNameError
Source§fn clone(&self) -> ConstantNameError
fn clone(&self) -> ConstantNameError
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 ConstantNameError
impl Debug for ConstantNameError
Source§impl Default for ConstantNameError
impl Default for ConstantNameError
Source§fn default() -> ConstantNameError
fn default() -> ConstantNameError
Returns the “default value” for a type. Read more
Source§impl Display for ConstantNameError
impl Display for ConstantNameError
Source§impl Error for ConstantNameError
impl Error for ConstantNameError
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<&'static str> for ConstantNameError
impl From<&'static str> for ConstantNameError
Source§impl From<ConstantNameError> for Error
impl From<ConstantNameError> for Error
Source§fn from(exception: ConstantNameError) -> Self
fn from(exception: ConstantNameError) -> Self
Converts to this type from the input type.
Source§impl From<String> for ConstantNameError
impl From<String> for ConstantNameError
Source§impl Hash for ConstantNameError
impl Hash for ConstantNameError
Source§impl Ord for ConstantNameError
impl Ord for ConstantNameError
Source§fn cmp(&self, other: &ConstantNameError) -> Ordering
fn cmp(&self, other: &ConstantNameError) -> 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 ConstantNameError
impl PartialEq for ConstantNameError
Source§impl PartialOrd for ConstantNameError
impl PartialOrd for ConstantNameError
Source§impl RubyException for ConstantNameError
impl RubyException for ConstantNameError
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 Eq for ConstantNameError
impl StructuralPartialEq for ConstantNameError
Auto Trait Implementations§
impl Freeze for ConstantNameError
impl RefUnwindSafe for ConstantNameError
impl Send for ConstantNameError
impl Sync for ConstantNameError
impl Unpin for ConstantNameError
impl UnwindSafe for ConstantNameError
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