pub type Text = Result<String, Error>;
Expand description
A representation of a value which can be stored and restored as a text.
Some formats are binary only and can’t be serialized to or deserialized from Text. Attempting to do so will return an Err(FormatError).
Aliased Type§
enum Text {
Ok(String),
Err(Error),
}