pub trait FromXml {
// Required method
fn from_xml(xml: &impl AsRef<str>) -> ControlResult<Self>
where Self: Sized + GenApiCtxt;
}
Expand description
A trait that provides directly conversion from GenApi
string to a GenApi
context.
Required Methods§
sourcefn from_xml(xml: &impl AsRef<str>) -> ControlResult<Self>where
Self: Sized + GenApiCtxt,
fn from_xml(xml: &impl AsRef<str>) -> ControlResult<Self>where Self: Sized + GenApiCtxt,
Parse GenApi
context and build `