Trait reproto_manifest::TryFromToml
[−]
[src]
pub trait TryFromToml where
Self: Sized, { fn try_from_string(base: &Path, id: &str, value: String) -> Result<Self>; fn try_from_value(base: &Path, id: &str, value: Value) -> Result<Self>; }
Trait to convert different types.
Required Methods
fn try_from_string(base: &Path, id: &str, value: String) -> Result<Self>
Convert from a string value.
fn try_from_value(base: &Path, id: &str, value: Value) -> Result<Self>
Convert from a TOML.
Implementations on Foreign Types
impl TryFromToml for RpRequiredPackage
[src]
Implementors
impl TryFromToml for NoModule
impl TryFromToml for ManifestFile
impl TryFromToml for Publish
impl TryFromToml for Preset