it should be expressed with conditionals anyway.
match key.len() {
k if k > self.block_size => ..
k if k < ... => ..
k => ...
or even match key.cmp(self.block_size) {
Equal => ..
Greater => ..
Less => ...Absolutely.
Yes, although the error message isn't very good:
And technically that's not a good thing, since (true, true) is not possible considering the input.