pub enum Notification {
NewSpan {
id: Id,
attributes: Attributes,
ctx: Context,
},
Record {
id: Id,
values: RecordValues,
ctx: Context,
},
Enter {
id: Id,
ctx: Context,
},
Exit {
id: Id,
ctx: Context,
},
Close {
id: Id,
ctx: Context,
},
FollowsFrom {
span: Id,
follows: Id,
ctx: Context,
},
Event {
event: Event,
ctx: Context,
},
IdChange {
old: Id,
new: Id,
ctx: Context,
},
}
Variants§
Trait Implementations§
Source§impl Debug for Notification
impl Debug for Notification
Source§impl<S> LayerTransform<S> for Notification
impl<S> LayerTransform<S> for Notification
fn from_new_span(attrs: &Attributes<'_>, id: &Id, ctx: Context<'_, S>) -> Self
fn from_on_record(span: &Id, values: &Record<'_>, ctx: Context<'_, S>) -> Self
fn from_on_follows_from(span: &Id, follows: &Id, ctx: Context<'_, S>) -> Self
fn from_on_event(event: &Event<'_>, ctx: Context<'_, S>) -> Self
fn from_on_enter(id: &Id, ctx: Context<'_, S>) -> Self
fn from_on_exit(id: &Id, ctx: Context<'_, S>) -> Self
fn from_on_close(id: Id, ctx: Context<'_, S>) -> Self
fn from_on_id_change(old: &Id, new: &Id, ctx: Context<'_, S>) -> Self
Auto Trait Implementations§
impl Freeze for Notification
impl RefUnwindSafe for Notification
impl Send for Notification
impl Sync for Notification
impl Unpin for Notification
impl UnwindSafe for Notification
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