pub struct Frame {
pub from: i64,
pub to: i64,
pub entities: Vec<u64>,
pub traces: Vec<[u8; 16]>,
pub truncated: bool,
}Expand description
A bounded region of telemetry.
No spans member, unlike section 7.3’s sketch: the one question it was for — “this
span and its children” — is what a trace_id query already answers, and a
set nothing reads is a set nothing keeps correct.
Fields§
§from: i64§to: i64§entities: Vec<u64>resources.key values (section 7.2). Never contains
crate::identity::NO_IDENTITY: treating “no stable identity” as an
identity would merge every resource an exporter failed to describe into
one entity.
traces: Vec<[u8; 16]>§truncated: boolSomething was dropped on the way here. Carried on the frame rather than returned beside it so it survives a walk: three expansions later the caller still knows the answer is a sample, which is the difference between a wide investigation and a wrong one.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].