[][src]Crate sise_read_util

Enums

ReadError

Functions

decode_atom

If node is an atom, it tries to decode its value using f.

expect_end_of_list

Returns a ReadError::UnexpectedNodeInList error if there are more nodes remaining nodes in the iter.

get_and_decode_atom_from_list

Gets the next node from iter, checks if it is an atom and decodes its value using f.

get_and_decode_atoms_from_list

Gets the remaining nodes from iter, checks if they are atoms atom and decodes their value using f.

get_as_atom

If node is an atom, it returns its value. Otherwise it returns a ReadError::ExpectedAtom error.

get_as_list

If node is a list, it returns the list. Otherwise it returns a ReadError::ExpectedList error.

get_node_from_list

Returns the next node in iter, if any. Otherwise, it returns a ReadError::ExpectedNodeInList error.