pub enum ValueKind {
Literal(&'static str),
Constructor,
Closure,
Thunk,
Other(String),
}Expand description
Describes the kind of a Value for error reporting.
Variants§
Literal(&'static str)
Constructor
Closure
Thunk
Other(String)
Fallback for complex values — stores Debug output
Trait Implementations§
impl Eq for ValueKind
impl StructuralPartialEq for ValueKind
Auto Trait Implementations§
impl Freeze for ValueKind
impl RefUnwindSafe for ValueKind
impl Send for ValueKind
impl Sync for ValueKind
impl Unpin for ValueKind
impl UnsafeUnpin for ValueKind
impl UnwindSafe for ValueKind
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