pub struct Buffered<TSource: Source> { /* private fields */ }
Expand description
XML deserializer using a source which has an internal buffer.
Implementations§
Trait Implementations§
Source§impl<TSource: Source> Deserializer for Buffered<TSource>
impl<TSource: Source> Deserializer for Buffered<TSource>
Source§fn de_tag<De: DeserializeTagged>(
&mut self,
tag_name: &str,
ignore_end: IgnoreEnd,
) -> Result<De, Error<De::Error>>
fn de_tag<De: DeserializeTagged>( &mut self, tag_name: &str, ignore_end: IgnoreEnd, ) -> Result<De, Error<De::Error>>
Deserializes a tagged element. Read more
Source§fn de_tag_with<Output, Err, DeserializeFn>(
&mut self,
tag_name: &str,
ignore_end: IgnoreEnd,
deserialize: DeserializeFn,
) -> Result<Output, Error<Err>>
fn de_tag_with<Output, Err, DeserializeFn>( &mut self, tag_name: &str, ignore_end: IgnoreEnd, deserialize: DeserializeFn, ) -> Result<Output, Error<Err>>
Deserializes a tagged element using the given function. Read more
Source§fn de_tag_list<De: DeserializeTagged, Name: AsRef<str>>(
&mut self,
tag_name: Option<Name>,
) -> Result<Vec<De>, Error<De::Error>>
fn de_tag_list<De: DeserializeTagged, Name: AsRef<str>>( &mut self, tag_name: Option<Name>, ) -> Result<Vec<De>, Error<De::Error>>
Deserializes a list of tagged elements. Read more
Source§fn de_text(&mut self) -> Result<String, Error<Infallible>>
fn de_text(&mut self) -> Result<String, Error<Infallible>>
Deserializes a text element. Read more
Source§fn skip_to_tag_start(&mut self, tag_name: &str) -> Result<(), Error<Infallible>>
fn skip_to_tag_start(&mut self, tag_name: &str) -> Result<(), Error<Infallible>>
Skips past all elements until a tagged element with the name
tag_name
is
reached. Read moreSource§fn skip_to_tag_end(&mut self, tag_name: &str) -> Result<(), Error<Infallible>>
fn skip_to_tag_end(&mut self, tag_name: &str) -> Result<(), Error<Infallible>>
Skips past all elements until the end of a tagged element with the name
tag_name
is reached. Read moreAuto Trait Implementations§
impl<TSource> Freeze for Buffered<TSource>where
TSource: Freeze,
impl<TSource> RefUnwindSafe for Buffered<TSource>where
TSource: RefUnwindSafe,
impl<TSource> Send for Buffered<TSource>where
TSource: Send,
impl<TSource> Sync for Buffered<TSource>where
TSource: Sync,
impl<TSource> Unpin for Buffered<TSource>where
TSource: Unpin,
impl<TSource> UnwindSafe for Buffered<TSource>where
TSource: UnwindSafe,
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