macro_rules! define_new_resource {
    ($(#[$meta:meta])* $name:ident<$state:ty, $error:ty>) => { ... };
}
Expand description

Defines a new resource type via new-type wrapper.