pub enum DebugRecord<'a> {
Ser(&'a Arguments<'a>),
De(CowString<'a>),
}
Variants§
Implementations§
source§impl<'a> DebugRecord<'a>
impl<'a> DebugRecord<'a>
pub fn to_owned(&self) -> DebugRecord<'static>
Trait Implementations§
source§impl<'a> Debug for DebugRecord<'a>
impl<'a> Debug for DebugRecord<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for DebugRecord<'a>
impl<'de: 'a, 'a> Deserialize<'de> for DebugRecord<'a>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'a> From<CowString<'a>> for DebugRecord<'a>
impl<'a> From<CowString<'a>> for DebugRecord<'a>
source§impl<'a> Serialize for DebugRecord<'a>
impl<'a> Serialize for DebugRecord<'a>
impl Send for DebugRecord<'static>
SAFETY: If all data is ’static and/or owned, it is safe to send between threads.
Auto Trait Implementations§
impl<'a> Freeze for DebugRecord<'a>
impl<'a> RefUnwindSafe for DebugRecord<'a>
impl<'a> !Sync for DebugRecord<'a>
impl<'a> Unpin for DebugRecord<'a>
impl<'a> UnwindSafe for DebugRecord<'a>
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