-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or request thereforNew feature or request thereforunder considerationDev has not yet decided whether or how to implementDev has not yet decided whether or how to implement
Description
The "obvious" way to do this would be for the parsing functions to take S: AsRef<[u8]> so that they can be passed both &str and &[u8], but then how should functions that only consume some of the input return the remainder?
- Add a sealed
Haystack(orInput?) trait that is implemented by both&strand&[u8](with or without&?), and make the parsing functions operate on instances of this trait?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request thereforNew feature or request thereforunder considerationDev has not yet decided whether or how to implementDev has not yet decided whether or how to implement