Struct amxml::sax::SaxDecoder [−][src]
pub struct SaxDecoder { /* fields omitted */ }
SaxDecoder represents an XML parser reading a particular input stream. See the module document for details.
Methods
impl SaxDecoder
[src]
impl SaxDecoder
pub fn new(xml_string: &str) -> Result<SaxDecoder, Box<Error>>
[src]
pub fn new(xml_string: &str) -> Result<SaxDecoder, Box<Error>>
Creates a new XML parser reading from String.
pub fn raw_token(&mut self) -> Result<XmlToken, Box<Error>>
[src]
pub fn raw_token(&mut self) -> Result<XmlToken, Box<Error>>
Returns the next XML token in the input stream. At end of the input stream, raw_token() returns XmlToken::EOF.
Auto Trait Implementations
impl Send for SaxDecoder
impl Send for SaxDecoder
impl Sync for SaxDecoder
impl Sync for SaxDecoder