pub struct NotStorable {
pub kind: &'static str,
}Expand description
A value that cannot be written to a log.
Value has four consumers with different requirements — the evaluator, the log, the wire, and
the digest — and three of its variants exist only for the first. Encoding one of those is not a
value to be lowered; it is a program that should not have compiled.
Fields§
§kind: &'static strWhich variant, by name.
Trait Implementations§
Source§impl Clone for NotStorable
impl Clone for NotStorable
Source§fn clone(&self) -> NotStorable
fn clone(&self) -> NotStorable
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NotStorable
impl Debug for NotStorable
Source§impl Display for NotStorable
impl Display for NotStorable
Source§impl Error for NotStorable
impl Error for NotStorable
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 PartialEq for NotStorable
impl PartialEq for NotStorable
impl Eq for NotStorable
impl StructuralPartialEq for NotStorable
Auto Trait Implementations§
impl Freeze for NotStorable
impl RefUnwindSafe for NotStorable
impl Send for NotStorable
impl Sync for NotStorable
impl Unpin for NotStorable
impl UnwindSafe for NotStorable
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