pub trait Tag<T, E> {
type Output;
// Required method
fn strip_from(&self, input: T) -> Result<(T, (Self::Output,)), E>;
}Expand description
Helper trait to recognize a tag
Required Associated Types§
Required Methods§
Sourcefn strip_from(&self, input: T) -> Result<(T, (Self::Output,)), E>
fn strip_from(&self, input: T) -> Result<(T, (Self::Output,)), E>
remove self from the begining of input