zonename

Function getzoneid

Source
pub fn getzoneid() -> Result<i32>
Expand description

Returns the zone ID of the calling process.

ยงExample

let zoneid = zonename::getzoneid().expect("failed to get zoneid");