nvzqz/static-assertions

static assertion to assert some type is some kind of Result

sam0x17 opened this issue · 0 comments

I have a situation where I have a return type on a user-created function and I need to assert that it returns some kind of Result without caring about the generic T and E params. How can I do this?