pub enum DiagFormat {
Text,
Json,
}Expand description
Serialization format for runtime diagnostics.
Variants§
Trait Implementations§
Source§impl Clone for DiagFormat
impl Clone for DiagFormat
Source§fn clone(&self) -> DiagFormat
fn clone(&self) -> DiagFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DiagFormat
Source§impl Debug for DiagFormat
impl Debug for DiagFormat
Source§impl Default for DiagFormat
impl Default for DiagFormat
Source§fn default() -> DiagFormat
fn default() -> DiagFormat
Returns the “default value” for a type. Read more
impl Eq for DiagFormat
Source§impl PartialEq for DiagFormat
impl PartialEq for DiagFormat
impl StructuralPartialEq for DiagFormat
Source§impl ValueEnum for DiagFormat
impl ValueEnum for DiagFormat
Auto Trait Implementations§
impl Freeze for DiagFormat
impl RefUnwindSafe for DiagFormat
impl Send for DiagFormat
impl Sync for DiagFormat
impl Unpin for DiagFormat
impl UnsafeUnpin for DiagFormat
impl UnwindSafe for DiagFormat
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.