pub fn uuid_str() -> String {
    let mut bytes = [0; 16];
    getrandom(&mut bytes).expect("RNG failure!");

    let uuid = uuid::Builder::from_bytes(bytes)
        .set_variant(uuid::Variant::RFC4122)
        .set_version(uuid::Version::Random)
        .build();

    uuid.to_string()
}
/// Produce a string containing a UUID.
///
/// Panics if random number generation fails.
Produce a string containing a UUID.
Panics if random number generation fails.
Produce a string containing a UUID . Panics if random number generation fails .
pub fn uuid_str() -> String {
    let mut bytes = [0; 16];
    getrandom(&mut bytes).expect("RNG failure!");
    let uuid = uuid::Builder::from_bytes(bytes)
        .set_variant(uuid::Variant::RFC4122)
        .set_version(uuid::Version::Random)
        .build();
    uuid.to_string()
}
pub fn uuid_str ( ) -> String { let mut bytes = [ 0 ; 16 ] ; getrandom ( & mut bytes ) . expect ( " " ) ; let uuid = uuid :: Builder :: from_bytes ( bytes ) . set_variant ( uuid :: Variant :: RFC4122 ) . set_version ( uuid :: Version :: Random ) . build ( ) ; uuid . to_string ( ) }
Produce a string containing a UUID.
Produce a string containing a UUID .