pub trait TryFromTableAttr: Sized {
// Required method
fn try_from_table_attr(
value: TableAttribute,
) -> Result<Self, ReadConversionError>;
}
Expand description
Trait for converting TableAttribute
to Self
Required Methods§
Sourcefn try_from_table_attr(
value: TableAttribute,
) -> Result<Self, ReadConversionError>
fn try_from_table_attr( value: TableAttribute, ) -> Result<Self, ReadConversionError>
Try to convert value
to Self
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.