pub struct Error { /* private fields */ }
Trait Implementations§
Source§impl FromValue for Error
impl FromValue for Error
Source§fn from_value(value: Value) -> Result<Self, ValueError>
fn from_value(value: Value) -> Result<Self, ValueError>
Try to convert to the given type, from the given value.
Source§impl<'a> ReflectValueType for &'a Error
impl<'a> ReflectValueType for &'a Error
Source§fn value_type() -> ValueType
fn value_type() -> ValueType
Convert into a value type.
Source§fn value_type_info() -> ValueTypeInfo
fn value_type_info() -> ValueTypeInfo
Access diagnostical information on the value type.
Source§impl<'a> ReflectValueType for &'a mut Error
impl<'a> ReflectValueType for &'a mut Error
Source§fn value_type() -> ValueType
fn value_type() -> ValueType
Convert into a value type.
Source§fn value_type_info() -> ValueTypeInfo
fn value_type_info() -> ValueTypeInfo
Access diagnostical information on the value type.
Source§impl ReflectValueType for Error
impl ReflectValueType for Error
Source§fn value_type() -> ValueType
fn value_type() -> ValueType
Convert into a value type.
Source§fn value_type_info() -> ValueTypeInfo
fn value_type_info() -> ValueTypeInfo
Access diagnostical information on the value type.
Source§impl<'a> UnsafeFromValue for &'a Error
impl<'a> UnsafeFromValue for &'a Error
Source§type Guard = RawOwnedRef
type Guard = RawOwnedRef
The raw guard returned. Read more
Source§unsafe fn unsafe_from_value(
value: Value,
) -> Result<(Self::Output, Self::Guard), ValueError>
unsafe fn unsafe_from_value( value: Value, ) -> Result<(Self::Output, Self::Guard), ValueError>
Convert the given reference using unsafe assumptions to a value. Read more
Source§impl<'a> UnsafeFromValue for &'a mut Error
impl<'a> UnsafeFromValue for &'a mut Error
Source§type Guard = RawOwnedMut
type Guard = RawOwnedMut
The raw guard returned. Read more
Source§unsafe fn unsafe_from_value(
value: Value,
) -> Result<(Self::Output, Self::Guard), ValueError>
unsafe fn unsafe_from_value( value: Value, ) -> Result<(Self::Output, Self::Guard), ValueError>
Convert the given reference using unsafe assumptions to a value. Read more
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> UnsafeFromValue for Twhere
T: FromValue,
impl<T> UnsafeFromValue for Twhere
T: FromValue,
Source§unsafe fn unsafe_from_value(
value: Value,
) -> Result<(T, <T as UnsafeFromValue>::Guard), ValueError>
unsafe fn unsafe_from_value( value: Value, ) -> Result<(T, <T as UnsafeFromValue>::Guard), ValueError>
Convert the given reference using unsafe assumptions to a value. Read more