Skip to main content

hostid

Function hostid 

Source
pub fn hostid() -> String
Available on crate feature config only.
Expand description

Method to get a consistant host ID (UUID v1 or UUID v4) useful for service.instance.id