Struct artichoke_backend::string::WriteError
source · [−]pub struct WriteError(_);
Expand description
Error type for format_unicode_debug_into
.
This error type can also be used to convert generic fmt::Error
into an
Error
, such as when formatting integers with write!
.
This error type wraps a fmt::Error
.
Implementations
sourceimpl WriteError
impl WriteError
pub fn into_inner(self) -> Error
Trait Implementations
sourceimpl Clone for WriteError
impl Clone for WriteError
sourcefn clone(&self) -> WriteError
fn clone(&self) -> WriteError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WriteError
impl Debug for WriteError
sourceimpl Display for WriteError
impl Display for WriteError
sourceimpl Error for WriteError
impl Error for WriteError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<Error> for WriteError
impl From<Error> for WriteError
sourceimpl From<WriteError> for Error
impl From<WriteError> for Error
sourcefn from(err: WriteError) -> Self
fn from(err: WriteError) -> Self
Converts to this type from the input type.
sourceimpl From<WriteError> for Error
impl From<WriteError> for Error
sourcefn from(exception: WriteError) -> Self
fn from(exception: WriteError) -> Self
Converts to this type from the input type.
sourceimpl From<WriteError> for Box<dyn RubyException>
impl From<WriteError> for Box<dyn RubyException>
sourcefn from(exception: WriteError) -> Box<dyn RubyException>
fn from(exception: WriteError) -> Box<dyn RubyException>
Converts to this type from the input type.
sourceimpl RubyException for WriteError
impl RubyException for WriteError
sourcefn 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.
sourcefn 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 WriteError
Auto Trait Implementations
impl RefUnwindSafe for WriteError
impl Send for WriteError
impl Sync for WriteError
impl Unpin for WriteError
impl UnwindSafe for WriteError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more