pub trait ToCsa {
    fn to_csa<W: Write>(&self, sink: &mut W) -> Result;

    fn to_csa_owned(&self) -> String { ... }
}
Expand description

A type that is convertible to CSA format.

Required Methods

Write self in CSA format.

This function returns Err(core::fmt::Error) if and only if it fails to write to sink.

Provided Methods

Returns self’s string representation.

Implementors