buffer mode state
main rust open
