[][src]Trait artichoke_core::convert::TryConvertMut

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

Mutable fallible conversions between two types.

Implementors may allocate on the interpreter heap.

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

Associated Types

type Error[src]

Error type for failed conversions.

Loading content...

Required methods

fn try_convert_mut(&mut self, value: T) -> Result<U, Self::Error>[src]

Performs the fallible conversion.

Errors

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

Loading content...

Implementors

Loading content...