artichoke_backend::extn::prelude

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.