quick_xml::reader

Macro read_until_close

source
macro_rules! read_until_close {
    (
        $self:ident, $buf:ident,
        $reader:expr
        $(, $await:ident)?
    ) => { ... };
}
Expand description

Read bytes up to the > and skip it. This method is expected to be called after seeing the < symbol and skipping it. Inspects the next (current) symbol and returns an appropriate Event:

SymbolEvent
!Comment, CData or DocType
/End
?PI
otherStart or Empty

Moves parser to the InsideText state.