pub trait ActrTypeExt: Sized {
// Required methods
fn to_string_repr(&self) -> String;
fn from_string_repr(s: &str) -> Result<Self, ActrError>;
}Expand description
Helpers for ActrType string conversions
Required Methods§
Sourcefn to_string_repr(&self) -> String
fn to_string_repr(&self) -> String
Convert to stable string representation: “
Sourcefn from_string_repr(s: &str) -> Result<Self, ActrError>
fn from_string_repr(s: &str) -> Result<Self, ActrError>
Parse from string representation. Performs validation on both parts.
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.