Skip to main content

span_decrypt

Function span_decrypt 

Source
pub fn span_decrypt(node_id: u64, packet_count: usize) -> Span
Expand description

Create a span for decryption operations.

§Arguments

  • node_id - The ID of the node performing decryption
  • packet_count - Number of packets being decrypted

§Examples

use elara_runtime::observability::tracing::span_decrypt;
use elara_core::NodeId;

let span = span_decrypt(NodeId(1), 5);
let _enter = span.enter();
// ... decrypt packets ...