pub enum ExplainValue {
Null,
Bool(bool),
Unsigned(u64),
Float(f64),
Label(&'static str),
Text(Produced<String>),
Object(Produced<Vec<(&'static str, Self)>>),
}Expand description
Physical diagnostic values keep numeric primitives inline and retain only admitted containers and copied text. Field names and fixed labels borrow static definitions.
Variants§
Null
Bool(bool)
Unsigned(u64)
Float(f64)
Label(&'static str)
Text(Produced<String>)
Object(Produced<Vec<(&'static str, Self)>>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExplainValue
impl RefUnwindSafe for ExplainValue
impl Send for ExplainValue
impl Sync for ExplainValue
impl Unpin for ExplainValue
impl UnsafeUnpin for ExplainValue
impl UnwindSafe for ExplainValue
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more