pub fn encode<T, W>(x: T, w: W) -> Result<(), Error<W::Error>>where T: Encode<()>, W: Write,
Encode a type implementing Encode to the given encode::Write impl.
Encode
encode::Write