viam-rust-utils 0.5.3

Utilities designed for use with Viamrobotics's SDKs
Documentation
// log_prefixes.rs contains prefixes for rpc log messages. The associated dialdbg tool (another
// workspace in this crate), parses these prefixes to determine dial behavior. Ensure modifications
// to this file are accordingly respected in dialdbg.

pub const MDNS_QUERY_ATTEMPT: &'static str = "Starting mDNS query";
pub const MDNS_ADDRESS_FOUND: &'static str = "Found address via mDNS";

pub const ACQUIRING_AUTH_TOKEN: &'static str = "Acquiring auth token";
pub const ACQUIRED_AUTH_TOKEN: &'static str = "Acquired auth token";

pub const START_LOCAL_SESSION_DESCRIPTION: &'static str = "Start local session description";
pub const END_LOCAL_SESSION_DESCRIPTION: &'static str = "End local session description";

pub const DIAL_ATTEMPT: &'static str = "Dialing";
pub const DIALED_GRPC: &'static str = "Connected via gRPC";
pub const DIALED_WEBRTC: &'static str = "Connected via WebRTC";

pub const CANDIDATE_SELECTED: &'static str = "Selected candidate pair";

// `_EXTERN` because we do not have ownership of this message; matching on it should only
// ever be used as a fallback.
pub const ICE_CONNECTED_EXTERN: &'static str = "ICE connection state changed: connected";