artichoke_backend::core

Trait TryConvertMut

source
pub trait TryConvertMut<T, U> {
    type Error;

    // Required method
    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.

Required Associated Types§

source

type Error

Error type for failed conversions.

Required Methods§

source

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

Performs the fallible conversion.

§Errors

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

Implementors§

source§

impl TryConvertMut<&str, Value> for Artichoke

source§

impl TryConvertMut<&OsStr, Value> for Artichoke

source§

impl TryConvertMut<&[&str], Value> for Artichoke

source§

impl TryConvertMut<&[&[u8]], Value> for Artichoke

source§

impl TryConvertMut<&[Option<&str>], Value> for Artichoke

source§

impl TryConvertMut<&[Option<&[u8]>], Value> for Artichoke

source§

impl TryConvertMut<&[Option<Value>], Value> for Artichoke

source§

impl TryConvertMut<&[Option<Vec<u8>>], Value> for Artichoke

source§

impl TryConvertMut<&[i64], Value> for Artichoke

source§

impl TryConvertMut<&[u8], Value> for Artichoke

source§

impl TryConvertMut<&[Value], Value> for Artichoke

source§

impl TryConvertMut<&[String], Value> for Artichoke

source§

impl TryConvertMut<&[Vec<u8>], Value> for Artichoke

source§

impl TryConvertMut<(Option<Value>, Option<Value>), (Option<Options>, Option<Encoding>)> for Artichoke

source§

impl TryConvertMut<Option<&str>, Value> for Artichoke

source§

impl TryConvertMut<Option<&[u8]>, Value> for Artichoke

source§

impl TryConvertMut<Option<Value>, Max> for Artichoke

source§

impl TryConvertMut<Option<Value>, Max> for Artichoke

source§

impl TryConvertMut<Option<String>, Value> for Artichoke

source§

impl TryConvertMut<Option<Vec<u8>>, Value> for Artichoke

source§

impl TryConvertMut<Option<HashMap<Vec<u8>, Option<Vec<u8>>>>, Value> for Artichoke

source§

impl TryConvertMut<Value, Max> for Artichoke

source§

impl TryConvertMut<Value, Encoding> for Artichoke

source§

impl TryConvertMut<Value, Max> for Artichoke

source§

impl TryConvertMut<Value, Option<Offset>> for Artichoke

source§

impl TryConvertMut<Value, Option<String>> for Artichoke

source§

impl TryConvertMut<Value, Option<Vec<u8>>> for Artichoke

source§

impl TryConvertMut<Value, String> for Artichoke

source§

impl TryConvertMut<Value, Vec<(Value, Value)>> for Artichoke

source§

impl TryConvertMut<Value, Vec<Option<String>>> for Artichoke

source§

impl TryConvertMut<Value, Vec<Option<Vec<u8>>>> for Artichoke

source§

impl TryConvertMut<Value, Vec<i64>> for Artichoke

source§

impl TryConvertMut<Value, Vec<u8>> for Artichoke

source§

impl TryConvertMut<Value, Vec<Value>> for Artichoke

source§

impl TryConvertMut<Value, Vec<String>> for Artichoke

source§

impl TryConvertMut<Value, Vec<Vec<u8>>> for Artichoke

source§

impl TryConvertMut<String, Value> for Artichoke

source§

impl TryConvertMut<Vec<&str>, Value> for Artichoke

source§

impl TryConvertMut<Vec<&[u8]>, Value> for Artichoke

source§

impl TryConvertMut<Vec<(Value, Value)>, Value> for Artichoke

source§

impl TryConvertMut<Vec<(Vec<u8>, Vec<i64>)>, Value> for Artichoke

source§

impl TryConvertMut<Vec<Option<&str>>, Value> for Artichoke

source§

impl TryConvertMut<Vec<Option<&[u8]>>, Value> for Artichoke

source§

impl TryConvertMut<Vec<Option<Vec<u8>>>, Value> for Artichoke

source§

impl TryConvertMut<Vec<i64>, Value> for Artichoke

source§

impl TryConvertMut<Vec<u8>, Value> for Artichoke

source§

impl TryConvertMut<Vec<Value>, Value> for Artichoke

source§

impl TryConvertMut<Vec<String>, Value> for Artichoke

source§

impl TryConvertMut<Vec<Vec<Option<&str>>>, Value> for Artichoke

source§

impl TryConvertMut<Vec<Vec<Option<&[u8]>>>, Value> for Artichoke

source§

impl TryConvertMut<Vec<Vec<Option<Vec<u8>>>>, Value> for Artichoke

source§

impl TryConvertMut<Vec<Vec<u8>>, Value> for Artichoke

source§

impl TryConvertMut<HashMap<Vec<u8>, Vec<u8>>, Value> for Artichoke

source§

impl TryConvertMut<OsString, Value> for Artichoke

source§

impl<'a> TryConvertMut<Cow<'a, str>, Value> for Artichoke

source§

impl<'a> TryConvertMut<Cow<'a, OsStr>, Value> for Artichoke

source§

impl<'a> TryConvertMut<Cow<'a, [u8]>, Value> for Artichoke

source§

impl<'a> TryConvertMut<Value, &'a str> for Artichoke

source§

impl<'a> TryConvertMut<Value, &'a [u8]> for Artichoke

source§

impl<'a> TryConvertMut<Value, Option<&'a str>> for Artichoke

source§

impl<'a> TryConvertMut<Value, Option<&'a [u8]>> for Artichoke

source§

impl<'a> TryConvertMut<Value, Vec<&'a str>> for Artichoke

source§

impl<'a> TryConvertMut<Value, Vec<&'a [u8]>> for Artichoke

source§

impl<'a> TryConvertMut<Value, Vec<Option<&'a str>>> for Artichoke

source§

impl<'a> TryConvertMut<Value, Vec<Option<&'a [u8]>>> for Artichoke

source§

impl<T, U> TryConvertMut<T, U> for Artichoke
where Artichoke: ConvertMut<T, U>,

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