pub trait TextDecode: Sized {
// Required method
fn decode_text(s: &str) -> Result<Self, Error>;
}Expand description
Decode a value from PostgreSQL text format.
Required Methods§
Sourcefn decode_text(s: &str) -> Result<Self, Error>
fn decode_text(s: &str) -> Result<Self, Error>
Decode from a PostgreSQL text representation.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.