Skip to main content

new_guid

Function new_guid 

Source
pub fn new_guid() -> Result<String, BindingError>
Expand description

A new random GlobalId (RFC 9562 version 4) in IFC’s 22-character form.

Refused with unsupported when the build or host has no random source: a WebAssembly build without the facade’s js-random feature, or a JavaScript host without crypto.getRandomValues (Node 18).