pub trait ConcatAPI<Inp> {
type Out;
// Required method
fn concat_f(self) -> Result<Self::Out, Error>;
// Provided method
fn concat(self) -> Self::Out
where Self: Sized { ... }
}
pub trait ConcatAPI<Inp> {
type Out;
// Required method
fn concat_f(self) -> Result<Self::Out, Error>;
// Provided method
fn concat(self) -> Self::Out
where Self: Sized { ... }
}