pub struct RexError;Trait Implementations§
Source§impl Error for RexError
impl Error for RexError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl ThinContext for RexError
impl ThinContext for RexError
const VALUE: Self = RexError
fn report<C>(ctx: C) -> Report<Self>where
C: Context,
fn attach_fn<A>(attach_fn: impl FnOnce() -> A) -> Report<Self>where
A: Display,
fn attach<A>(value: A) -> Report<Self>where
A: Display,
fn attach_dbg<A>(value: A) -> Report<Self>where
A: Debug,
fn attach_kv<K, V>(key: K, value: V) -> Report<Self>
fn attach_kv_dbg<K, V>(key: K, value: V) -> Report<Self>
fn attach_field<S>(key: &'static str, status: S) -> Report<Self>where
S: Display,
fn expected_actual<A>(expected: A, actual: A) -> Report<Self>where
A: Display,
fn attach_ty_val<A>(value: A) -> Report<Self>where
A: Display,
fn attach_ty_dbg<A>(value: A) -> Report<Self>where
A: Debug,
fn attach_ty<A>() -> Report<Self>
fn attach_ty_status<A>(status: impl Display) -> Report<Self>
Auto Trait Implementations§
impl Freeze for RexError
impl RefUnwindSafe for RexError
impl Send for RexError
impl Sync for RexError
impl Unpin for RexError
impl UnsafeUnpin for RexError
impl UnwindSafe for RexError
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