pub trait Choice {
    fn can_decode(tag: Tag) -> bool;
}

Required Methods

Is the provided Tag decodable as a variant of this CHOICE?

Implementors

This blanket impl allows any Tagged type to function as a Choice with a single alternative.