Reorganize a bunch of traits, like Cursor, Batcher, and Builder, to reveal more independence of their types. This was meant as an exercise to understand what is needed to break these apart, and e.g. accept owned inputs but potentially reveal borrow types as outputs (e.g. String in, and &[u8] out).
Reorganize a bunch of traits, like
Cursor
,Batcher
, andBuilder
, to reveal more independence of their types. This was meant as an exercise to understand what is needed to break these apart, and e.g. accept owned inputs but potentially reveal borrow types as outputs (e.g.String
in, and&[u8]
out).