pub trait Stringifier {
// Required method
fn as_utf8(&self) -> &[u8] ⓘ;
// Provided methods
fn as_str(&self) -> &str { ... }
fn to_string(&self) -> String { ... }
}Expand description
A stringifier is special kind of TripleSerializer or QuadSerializer:
- it uses a text-based format encoded in UTF8;
- it stores the serialize data in memory;
- it gives access to the serialized data as
strorString.