quick_xml::reader

Macro read_to_end

source
macro_rules! read_to_end {
    (
        // $self: &mut Reader
        $self:expr, $end:expr, $buf:expr,
        $read_event:ident,
        // Code block that performs clearing of internal buffer after read of each event
        $clear:block
        $(, $await:ident)?
    ) => { ... };
}
Expand description

Generalization of read_to_end method for buffered and borrowed readers