Enum Value

Source
pub enum Value {
Show 15 variants Null, EmptyArray, EmptyMap, Boolean(bool), Binary(Vec<u8>), String(String), Number(NumberValue), Timestamp(i64), Date(i32), Array(Vec<Value>), Map(Vec<(Value, Value)>), Tuple(Vec<Value>), Bitmap(String), Variant(String), Geometry(String),
}

Variants§

§

Null

§

EmptyArray

§

EmptyMap

§

Boolean(bool)

§

Binary(Vec<u8>)

§

String(String)

§

Number(NumberValue)

§

Timestamp(i64)

Microseconds from 1970-01-01 00:00:00 UTC

§

Date(i32)

§

Array(Vec<Value>)

§

Map(Vec<(Value, Value)>)

§

Tuple(Vec<Value>)

§

Bitmap(String)

§

Variant(String)

§

Geometry(String)

Implementations§

Trait Implementations§

Source§

impl Clone for Value

Source§

fn clone(&self) -> Value

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Value

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for Value

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for Value

Source§

fn eq(&self, other: &Value) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<(&DataType, &str)> for Value

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from((t, v): (&DataType, &str)) -> Result<Self>

Performs the conversion.
Source§

impl<T1> TryFrom<Value> for (T1,)
where T1: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<T1, T2> TryFrom<Value> for (T1, T2)
where T1: TryFrom<Value>, T2: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<T1, T2, T3> TryFrom<Value> for (T1, T2, T3)
where T1: TryFrom<Value>, T2: TryFrom<Value>, T3: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<T1, T2, T3, T4> TryFrom<Value> for (T1, T2, T3, T4)
where T1: TryFrom<Value>, T2: TryFrom<Value>, T3: TryFrom<Value>, T4: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<T1, T2, T3, T4, T5> TryFrom<Value> for (T1, T2, T3, T4, T5)
where T1: TryFrom<Value>, T2: TryFrom<Value>, T3: TryFrom<Value>, T4: TryFrom<Value>, T5: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<T1, T2, T3, T4, T5, T6> TryFrom<Value> for (T1, T2, T3, T4, T5, T6)
where T1: TryFrom<Value>, T2: TryFrom<Value>, T3: TryFrom<Value>, T4: TryFrom<Value>, T5: TryFrom<Value>, T6: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<T1, T2, T3, T4, T5, T6, T7> TryFrom<Value> for (T1, T2, T3, T4, T5, T6, T7)
where T1: TryFrom<Value>, T2: TryFrom<Value>, T3: TryFrom<Value>, T4: TryFrom<Value>, T5: TryFrom<Value>, T6: TryFrom<Value>, T7: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8> TryFrom<Value> for (T1, T2, T3, T4, T5, T6, T7, T8)
where T1: TryFrom<Value>, T2: TryFrom<Value>, T3: TryFrom<Value>, T4: TryFrom<Value>, T5: TryFrom<Value>, T6: TryFrom<Value>, T7: TryFrom<Value>, T8: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9> TryFrom<Value> for (T1, T2, T3, T4, T5, T6, T7, T8, T9)
where T1: TryFrom<Value>, T2: TryFrom<Value>, T3: TryFrom<Value>, T4: TryFrom<Value>, T5: TryFrom<Value>, T6: TryFrom<Value>, T7: TryFrom<Value>, T8: TryFrom<Value>, T9: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> TryFrom<Value> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
where T1: TryFrom<Value>, T2: TryFrom<Value>, T3: TryFrom<Value>, T4: TryFrom<Value>, T5: TryFrom<Value>, T6: TryFrom<Value>, T7: TryFrom<Value>, T8: TryFrom<Value>, T9: TryFrom<Value>, T10: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TryFrom<Value> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
where T1: TryFrom<Value>, T2: TryFrom<Value>, T3: TryFrom<Value>, T4: TryFrom<Value>, T5: TryFrom<Value>, T6: TryFrom<Value>, T7: TryFrom<Value>, T8: TryFrom<Value>, T9: TryFrom<Value>, T10: TryFrom<Value>, T11: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> TryFrom<Value> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
where T1: TryFrom<Value>, T2: TryFrom<Value>, T3: TryFrom<Value>, T4: TryFrom<Value>, T5: TryFrom<Value>, T6: TryFrom<Value>, T7: TryFrom<Value>, T8: TryFrom<Value>, T9: TryFrom<Value>, T10: TryFrom<Value>, T11: TryFrom<Value>, T12: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> TryFrom<Value> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)
where T1: TryFrom<Value>, T2: TryFrom<Value>, T3: TryFrom<Value>, T4: TryFrom<Value>, T5: TryFrom<Value>, T6: TryFrom<Value>, T7: TryFrom<Value>, T8: TryFrom<Value>, T9: TryFrom<Value>, T10: TryFrom<Value>, T11: TryFrom<Value>, T12: TryFrom<Value>, T13: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> TryFrom<Value> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)
where T1: TryFrom<Value>, T2: TryFrom<Value>, T3: TryFrom<Value>, T4: TryFrom<Value>, T5: TryFrom<Value>, T6: TryFrom<Value>, T7: TryFrom<Value>, T8: TryFrom<Value>, T9: TryFrom<Value>, T10: TryFrom<Value>, T11: TryFrom<Value>, T12: TryFrom<Value>, T13: TryFrom<Value>, T14: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> TryFrom<Value> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T1: TryFrom<Value>, T2: TryFrom<Value>, T3: TryFrom<Value>, T4: TryFrom<Value>, T5: TryFrom<Value>, T6: TryFrom<Value>, T7: TryFrom<Value>, T8: TryFrom<Value>, T9: TryFrom<Value>, T10: TryFrom<Value>, T11: TryFrom<Value>, T12: TryFrom<Value>, T13: TryFrom<Value>, T14: TryFrom<Value>, T15: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> TryFrom<Value> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)
where T1: TryFrom<Value>, T2: TryFrom<Value>, T3: TryFrom<Value>, T4: TryFrom<Value>, T5: TryFrom<Value>, T6: TryFrom<Value>, T7: TryFrom<Value>, T8: TryFrom<Value>, T9: TryFrom<Value>, T10: TryFrom<Value>, T11: TryFrom<Value>, T12: TryFrom<Value>, T13: TryFrom<Value>, T14: TryFrom<Value>, T15: TryFrom<Value>, T16: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17> TryFrom<Value> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)
where T1: TryFrom<Value>, T2: TryFrom<Value>, T3: TryFrom<Value>, T4: TryFrom<Value>, T5: TryFrom<Value>, T6: TryFrom<Value>, T7: TryFrom<Value>, T8: TryFrom<Value>, T9: TryFrom<Value>, T10: TryFrom<Value>, T11: TryFrom<Value>, T12: TryFrom<Value>, T13: TryFrom<Value>, T14: TryFrom<Value>, T15: TryFrom<Value>, T16: TryFrom<Value>, T17: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18> TryFrom<Value> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)
where T1: TryFrom<Value>, T2: TryFrom<Value>, T3: TryFrom<Value>, T4: TryFrom<Value>, T5: TryFrom<Value>, T6: TryFrom<Value>, T7: TryFrom<Value>, T8: TryFrom<Value>, T9: TryFrom<Value>, T10: TryFrom<Value>, T11: TryFrom<Value>, T12: TryFrom<Value>, T13: TryFrom<Value>, T14: TryFrom<Value>, T15: TryFrom<Value>, T16: TryFrom<Value>, T17: TryFrom<Value>, T18: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19> TryFrom<Value> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)
where T1: TryFrom<Value>, T2: TryFrom<Value>, T3: TryFrom<Value>, T4: TryFrom<Value>, T5: TryFrom<Value>, T6: TryFrom<Value>, T7: TryFrom<Value>, T8: TryFrom<Value>, T9: TryFrom<Value>, T10: TryFrom<Value>, T11: TryFrom<Value>, T12: TryFrom<Value>, T13: TryFrom<Value>, T14: TryFrom<Value>, T15: TryFrom<Value>, T16: TryFrom<Value>, T17: TryFrom<Value>, T18: TryFrom<Value>, T19: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20> TryFrom<Value> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)
where T1: TryFrom<Value>, T2: TryFrom<Value>, T3: TryFrom<Value>, T4: TryFrom<Value>, T5: TryFrom<Value>, T6: TryFrom<Value>, T7: TryFrom<Value>, T8: TryFrom<Value>, T9: TryFrom<Value>, T10: TryFrom<Value>, T11: TryFrom<Value>, T12: TryFrom<Value>, T13: TryFrom<Value>, T14: TryFrom<Value>, T15: TryFrom<Value>, T16: TryFrom<Value>, T17: TryFrom<Value>, T18: TryFrom<Value>, T19: TryFrom<Value>, T20: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21> TryFrom<Value> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21)
where T1: TryFrom<Value>, T2: TryFrom<Value>, T3: TryFrom<Value>, T4: TryFrom<Value>, T5: TryFrom<Value>, T6: TryFrom<Value>, T7: TryFrom<Value>, T8: TryFrom<Value>, T9: TryFrom<Value>, T10: TryFrom<Value>, T11: TryFrom<Value>, T12: TryFrom<Value>, T13: TryFrom<Value>, T14: TryFrom<Value>, T15: TryFrom<Value>, T16: TryFrom<Value>, T17: TryFrom<Value>, T18: TryFrom<Value>, T19: TryFrom<Value>, T20: TryFrom<Value>, T21: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22> TryFrom<Value> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22)
where T1: TryFrom<Value>, T2: TryFrom<Value>, T3: TryFrom<Value>, T4: TryFrom<Value>, T5: TryFrom<Value>, T6: TryFrom<Value>, T7: TryFrom<Value>, T8: TryFrom<Value>, T9: TryFrom<Value>, T10: TryFrom<Value>, T11: TryFrom<Value>, T12: TryFrom<Value>, T13: TryFrom<Value>, T14: TryFrom<Value>, T15: TryFrom<Value>, T16: TryFrom<Value>, T17: TryFrom<Value>, T18: TryFrom<Value>, T19: TryFrom<Value>, T20: TryFrom<Value>, T21: TryFrom<Value>, T22: TryFrom<Value>,

Source§

type Error = String

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self, String>

Performs the conversion.
Source§

impl<K, V> TryFrom<Value> for HashMap<K, V>
where K: TryFrom<Value, Error = Error> + Eq + Hash, V: TryFrom<Value, Error = Error>,

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for NaiveDate

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for NaiveDateTime

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for Option<NaiveDate>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for Option<NaiveDateTime>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for Option<String>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for Option<bool>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for Option<f32>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for Option<f64>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for Option<i16>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for Option<i32>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for Option<i64>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for Option<i8>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for Option<u16>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for Option<u32>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for Option<u64>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for Option<u8>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for String

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl<V> TryFrom<Value> for Vec<V>
where V: TryFrom<Value, Error = Error>,

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for bool

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for f32

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for f64

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for i16

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for i32

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for i64

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for i8

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for u16

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for u32

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for u64

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<Value> for u8

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: Value) -> Result<Self>

Performs the conversion.
Source§

impl StructuralPartialEq for Value

Auto Trait Implementations§

§

impl Freeze for Value

§

impl RefUnwindSafe for Value

§

impl Send for Value

§

impl Sync for Value

§

impl Unpin for Value

§

impl UnwindSafe for Value

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,

Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T