Trait artichoke_backend::core::TryConvertMut[][src]

pub trait TryConvertMut<T, U> {
    type Error;
    fn try_convert_mut(&mut self, value: T) -> Result<U, Self::Error>;
Expand description

Mutable fallible conversions between two types.

Implementors may allocate on the interpreter heap.

See core::convert::TryFrom. See TryConvert.

Associated Types

Error type for failed conversions.

Required methods

Performs the fallible conversion.


If boxing or unboxing a value into the specified type fails, an error is returned.


Provide a mutable fallible converter for types that implement an infallible conversion.