Function any
fn any<Input, Error>(input: &mut Input) -> Result<<Input as Stream>::Token, Error>
where
Input: StreamIsPartial + Stream,
Error: ParserError<Input>
Matches one token
Complete version: Will return an error if there's not enough input data.
[Partial version][crate::_topic::partial]: Will return Err(winnow::error::ErrMode::Incomplete(_)) if there's not enough input data.
Effective Signature
Assuming you are parsing a &str [Stream]:
# use *;;
#
Example
# use ;
# use *;
assert_eq!;
assert!;
# use ;
# use *;
# use Partial;
assert_eq!;
assert_eq!;