pub struct CapturingBackend { /* private fields */ }Expand description
Backend that records every operation as a Token without writing anywhere.
Useful for verifying crate::JsonEmitter behavior without depending on a
real JSON serializer.
Implementations§
Trait Implementations§
Source§impl Debug for CapturingBackend
impl Debug for CapturingBackend
Source§impl Default for CapturingBackend
impl Default for CapturingBackend
Source§fn default() -> CapturingBackend
fn default() -> CapturingBackend
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CapturingBackend
impl RefUnwindSafe for CapturingBackend
impl Send for CapturingBackend
impl Sync for CapturingBackend
impl Unpin for CapturingBackend
impl UnsafeUnpin for CapturingBackend
impl UnwindSafe for CapturingBackend
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