[][src]Function bloguen::ops::feed_atom_post_footer

pub fn feed_atom_post_footer<W, E>(
    into: &mut W,
    out_name_err: E
) -> Result<Cow<'static, str>, Error> where
    W: Write,
    E: Into<Cow<'static, str>>, 

Output the post footer for an Atom feed,

Examples

let mut out = vec![];
let res = feed_atom_post_footer(&mut out, "test post");
assert_eq!(res, Ok("test post".into()));

let out = str::from_utf8(&out).unwrap();
assert_eq!(out, r###"    </content>
  </entry>
"###);