macro_rules! guid {
($s:expr) => { ... };
}Expand description
A macro to create a Guid from a string literal at compile time.
Prefer the make_guid! alias.
use smb_dtyp::make_guid;
let guid = make_guid!("065eadf1-6daf-1543-b04f-10e69084c9ae");
assert_eq!(guid.to_string(), "065eadf1-6daf-1543-b04f-10e69084c9ae");