[][src]Struct yaserde::ser::Serializer

pub struct Serializer<W: Write> { /* fields omitted */ }

Implementations

impl<'de, W: Write> Serializer<W>[src]

pub fn new(writer: EventWriter<W>) -> Self[src]

pub fn new_from_writer(writer: W) -> Self[src]

pub fn new_for_inner(writer: W) -> Self[src]

pub fn into_inner(self) -> W[src]

pub fn skip_start_end(&self) -> bool[src]

pub fn set_skip_start_end(&mut self, state: bool)[src]

pub fn get_start_event_name(&self) -> Option<String>[src]

pub fn set_start_event_name(&mut self, name: Option<String>)[src]

pub fn write<'a, E>(&mut self, event: E) -> Result<()> where
    E: Into<XmlEvent<'a>>, 
[src]

Auto Trait Implementations

impl<W> RefUnwindSafe for Serializer<W> where
    W: RefUnwindSafe

impl<W> Send for Serializer<W> where
    W: Send

impl<W> Sync for Serializer<W> where
    W: Sync

impl<W> Unpin for Serializer<W> where
    W: Unpin

impl<W> UnwindSafe for Serializer<W> where
    W: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.