Skip to main content

Mountain/Air/AirServiceProvider/
GenerateRequestID.rs

1
2//! Generate a fresh UUID-v4 (simple form) for use as an Air request id.
3//! Each Air RPC carries one of these so Mountain can correlate replies
4//! with the originating call across log lines + traces.
5
6use uuid::Uuid;
7
8pub fn Fn() -> String { Uuid::new_v4().simple().to_string() }