Struct evtx::JsonOutput
source · pub struct JsonOutput { /* private fields */ }
Implementations§
source§impl JsonOutput
impl JsonOutput
pub fn new(settings: &ParserSettings) -> Self
pub fn into_value(self) -> SerializationResult<Value>
Trait Implementations§
source§impl BinXmlOutput for JsonOutput
impl BinXmlOutput for JsonOutput
source§fn visit_end_of_stream(&mut self) -> SerializationResult<()>
fn visit_end_of_stream(&mut self) -> SerializationResult<()>
Called once when EOF is reached.
source§fn visit_open_start_element(
&mut self,
element: &XmlElement<'_>
) -> SerializationResult<()>
fn visit_open_start_element( &mut self, element: &XmlElement<'_> ) -> SerializationResult<()>
Called on .
source§fn visit_close_element(
&mut self,
_element: &XmlElement<'_>
) -> SerializationResult<()>
fn visit_close_element( &mut self, _element: &XmlElement<'_> ) -> SerializationResult<()>
Called on , implementor may want to keep a stack to properly close tags.
source§fn visit_characters(
&mut self,
value: Cow<'_, BinXmlValue<'_>>
) -> SerializationResult<()>
fn visit_characters( &mut self, value: Cow<'_, BinXmlValue<'_>> ) -> SerializationResult<()>
Called with value on xml text node, (ex. DESKTOP-0QT8017 )
~~~~~~~~~~~~~~~
source§fn visit_cdata_section(&mut self) -> SerializationResult<()>
fn visit_cdata_section(&mut self) -> SerializationResult<()>
Unimplemented
source§fn visit_entity_reference(
&mut self,
entity: &BinXmlName
) -> Result<(), SerializationError>
fn visit_entity_reference( &mut self, entity: &BinXmlName ) -> Result<(), SerializationError>
Emit the character “&” and the text.
source§fn visit_character_reference(
&mut self,
_char_ref: Cow<'_, str>
) -> Result<(), SerializationError>
fn visit_character_reference( &mut self, _char_ref: Cow<'_, str> ) -> Result<(), SerializationError>
Emit the characters “&” and “#” and the decimal string representation of the value.
source§fn visit_processing_instruction(
&mut self,
_pi: &BinXmlPI<'_>
) -> Result<(), SerializationError>
fn visit_processing_instruction( &mut self, _pi: &BinXmlPI<'_> ) -> Result<(), SerializationError>
Unimplemented
source§fn visit_start_of_stream(&mut self) -> SerializationResult<()>
fn visit_start_of_stream(&mut self) -> SerializationResult<()>
Called once on beginning of parsing.
Auto Trait Implementations§
impl Freeze for JsonOutput
impl RefUnwindSafe for JsonOutput
impl Send for JsonOutput
impl Sync for JsonOutput
impl Unpin for JsonOutput
impl UnwindSafe for JsonOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more