Struct mick_jaeger::TracesOut
source · pub struct TracesOut { /* private fields */ }
Expand description
Receiving side for spans.
This object must be processed in order to send traces to the UDP server.
Implementations§
source§impl TracesOut
impl TracesOut
sourcepub async fn next(&mut self) -> Vec<u8>
pub async fn next(&mut self) -> Vec<u8>
Returns the next packet of data to send on the UDP socket.
sourcepub fn add_string_tag(&mut self, key: &str, value: &str)
pub fn add_string_tag(&mut self, key: &str, value: &str)
Add a new key-value tag to the process.
sourcepub fn add_int_tag(&mut self, key: &str, value: i64)
pub fn add_int_tag(&mut self, key: &str, value: i64)
Add a new key-value tag to the process.
Auto Trait Implementations§
impl Freeze for TracesOut
impl !RefUnwindSafe for TracesOut
impl Send for TracesOut
impl Sync for TracesOut
impl Unpin for TracesOut
impl !UnwindSafe for TracesOut
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