pub fn finish(mut self) -> Result<W, RdfXmlError> {
        if self.current_subject.is_some() {
            self.writer
                .write_event(Event::End(BytesEnd::borrowed(b"rdf:Description")))?;
        }
        self.writer
            .write_event(Event::End(BytesEnd::borrowed(b"rdf:RDF")))?;
        Ok(self.writer.into_inner())
    }
/// Finishes to write and returns the underlying `Write`
Finishes to write and returns the underlying `Write`
Finishes to write and returns the underlying ` Write `
pub fn finish(mut self) -> Result<W, RdfXmlError> {
        if self.current_subject.is_some() {
            self.writer
                .write_event(Event::End(BytesEnd::borrowed(b"rdf:Description")))?;
        }
        self.writer
            .write_event(Event::End(BytesEnd::borrowed(b"rdf:RDF")))?;
        Ok(self.writer.into_inner())
    }
pub fn finish ( mut self ) -> Result < W , RdfXmlError > { if self . current_subject . is_some ( ) { self . writer . write_event ( Event :: End ( BytesEnd :: borrowed ( b" " ) ) ) ? ; } self . writer . write_event ( Event :: End ( BytesEnd :: borrowed ( b" " ) ) ) ? ; Ok ( self . writer . into_inner ( ) ) }
Finishes to write and returns the underlying `Write`
Finishes to write and returns the underlying ` Write `
mut self