pub enum TraceSource {
File(PathBuf),
Memory(Arc<Mutex<Vec<Value>>>),
}Expand description
Source of trace events for the viewer.
Variants§
File(PathBuf)
Read events from a file (re-reads on each request for live updates).
Memory(Arc<Mutex<Vec<Value>>>)
Read events from shared memory.
Trait Implementations§
Source§impl Clone for TraceSource
impl Clone for TraceSource
Auto Trait Implementations§
impl Freeze for TraceSource
impl RefUnwindSafe for TraceSource
impl Send for TraceSource
impl Sync for TraceSource
impl Unpin for TraceSource
impl UnsafeUnpin for TraceSource
impl UnwindSafe for TraceSource
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