pub enum CacheInstruction<'a> {
Restart,
NewString(&'a str),
NewSpan {
parent: Option<NonZeroU64>,
span: NonZeroU64,
name: CacheString<'a>,
},
FinishedSpan,
NewRecord(NonZeroU64),
FinishedRecord,
StartEvent {
time: DateTime<Utc>,
span: Option<NonZeroU64>,
target: CacheString<'a>,
priority: Level,
},
FinishedEvent,
AddValue(FieldValue<'a, CacheString<'a>>),
DeleteSpan(NonZeroU64),
}Variants§
Restart
NewString(&'a str)
NewSpan
FinishedSpan
NewRecord(NonZeroU64)
FinishedRecord
StartEvent
FinishedEvent
AddValue(FieldValue<'a, CacheString<'a>>)
DeleteSpan(NonZeroU64)
Trait Implementations§
Source§impl<'a> Clone for CacheInstruction<'a>
impl<'a> Clone for CacheInstruction<'a>
Source§fn clone(&self) -> CacheInstruction<'a>
fn clone(&self) -> CacheInstruction<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for CacheInstruction<'a>
impl<'a> Debug for CacheInstruction<'a>
Source§impl InstructionTrait for CacheInstruction<'_>
impl InstructionTrait for CacheInstruction<'_>
fn id(self) -> InstructionId
impl<'a> Copy for CacheInstruction<'a>
Auto Trait Implementations§
impl<'a> Freeze for CacheInstruction<'a>
impl<'a> RefUnwindSafe for CacheInstruction<'a>
impl<'a> Send for CacheInstruction<'a>
impl<'a> Sync for CacheInstruction<'a>
impl<'a> Unpin for CacheInstruction<'a>
impl<'a> UnwindSafe for CacheInstruction<'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