Skip to main content

parse_stack

Function parse_stack 

Source
pub fn parse_stack(text: &str) -> StackReply
Expand description

Parse the stack display of a host command: an optional first line Error: X, then Empty Stack or the levels from the highest down, each starting with N:; any other line continues the level before it. Never fails: text before the first level is ignored.