Twiml

Trait Twiml 

Source
pub trait Twiml {
    // Required methods
    fn write<W>(&self, w: &mut EventWriter<W>) -> Result<(), TwimlErr>
       where W: Write;
    fn build(&self) -> Result<String, TwimlErr>;
}

Required Methods§

Source

fn write<W>(&self, w: &mut EventWriter<W>) -> Result<(), TwimlErr>
where W: Write,

Source

fn build(&self) -> Result<String, TwimlErr>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Twiml for Hangup

Source§

impl<'a> Twiml for Dial<'a>

Source§

impl<'a> Twiml for Gather<'a>

Source§

impl<'a> Twiml for Msg<'a>

Source§

impl<'a> Twiml for Play<'a>

Source§

impl<'a> Twiml for Redirect<'a>

Source§

impl<'a> Twiml for Response<'a>

Source§

impl<'a> Twiml for Say<'a>