File tree Expand file tree Collapse file tree
libdd-trace-utils/src/change_buffer Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ // Copyright 2025-Present Datadog, Inc. https://www.datadoghq.com/
2+ // SPDX-License-Identifier: Apache-2.0
3+
14use crate :: change_buffer:: utils:: * ;
25use crate :: change_buffer:: { ChangeBufferError , Result } ;
36
Original file line number Diff line number Diff line change 1+ // Copyright 2025-Present Datadog, Inc. https://www.datadoghq.com/
2+ // SPDX-License-Identifier: Apache-2.0
3+
14//! Change buffer.
25//!
36//! A change buffer is a contiguous shared memory area between libdatadog and an external runtime.
Original file line number Diff line number Diff line change 1+ // Copyright 2025-Present Datadog, Inc. https://www.datadoghq.com/
2+ // SPDX-License-Identifier: Apache-2.0
3+
14//! Change buffer operations.
25//!
36//! Operations are encoded in the change buffer, and provides an API on spans and their parts.
Original file line number Diff line number Diff line change 1+ // Copyright 2025-Present Datadog, Inc. https://www.datadoghq.com/
2+ // SPDX-License-Identifier: Apache-2.0
3+
14/// Fixed-layout span header for direct JS DataView access.
25///
36/// JS creates a DataView over each span's header in WASM linear memory and writes fields directly.
Original file line number Diff line number Diff line change 1+ // Copyright 2025-Present Datadog, Inc. https://www.datadoghq.com/
2+ // SPDX-License-Identifier: Apache-2.0
3+
14#[ derive( Default ) ]
25pub struct Trace < T > {
36 pub meta : Vec < ( T , T ) > ,
Original file line number Diff line number Diff line change 1+ // Copyright 2025-Present Datadog, Inc. https://www.datadoghq.com/
2+ // SPDX-License-Identifier: Apache-2.0
3+
14pub trait FromBytes : Sized {
25 type Bytes : ?Sized ;
36 fn from_bytes ( bytes : & [ u8 ] ) -> Self ;
You can’t perform that action at this time.
0 commit comments