Lines Matching refs:uuid
6 use uuid::Uuid;
10 let uuid = Uuid::parse_str("F9168C5E-CEB2-4faa-B6BF-329BF39FA1E4").unwrap(); in bench_hyphen() localVariable
13 write!(&mut buffer as &mut [_], "{:x}", uuid.to_hyphenated()).unwrap(); in bench_hyphen()
20 let uuid = Uuid::parse_str("F9168C5E-CEB2-4faa-B6BF-329BF39FA1E4").unwrap(); in bench_simple() localVariable
23 write!(&mut buffer as &mut [_], "{:x}", uuid.to_simple()).unwrap(); in bench_simple()
30 let uuid = Uuid::parse_str("F9168C5E-CEB2-4faa-B6BF-329BF39FA1E4").unwrap(); in bench_urn() localVariable
33 write!(&mut buffer as &mut [_], "{:x}", uuid.to_urn()).unwrap(); in bench_urn()
40 let uuid = Uuid::parse_str("F9168C5E-CEB2-4faa-B6BF-329BF39FA1E4").unwrap(); in bench_encode_hyphen() localVariable
43 uuid.to_hyphenated().encode_lower(&mut buffer); in bench_encode_hyphen()
50 let uuid = Uuid::parse_str("F9168C5E-CEB2-4faa-B6BF-329BF39FA1E4").unwrap(); in bench_encode_simple() localVariable
53 uuid.to_simple().encode_lower(&mut buffer); in bench_encode_simple()
60 let uuid = Uuid::parse_str("F9168C5E-CEB2-4faa-B6BF-329BF39FA1E4").unwrap(); in bench_encode_urn() localVariable
63 uuid.to_urn().encode_lower(&mut buffer); in bench_encode_urn()