Function parse_rfc3339_timestamp

Source
pub fn parse_rfc3339_timestamp(timestamp_str: &str) -> Result<u64, String>
Expand description

Parse RFC3339 timestamp string to nanoseconds with error handling Returns Result where the u64 is nanoseconds since Unix epoch On error, provides descriptive error message for debugging

This is a common utility to avoid duplicating timestamp parsing logic Used by multiple exchange implementations for consistent error handling