use crate::{InvalidProcess, Process};
impl TryFrom<String> for Process {
type Error = InvalidProcess;
fn try_from(value: String) -> Result<Self, Self::Error> {
Process::try_create(value)
}
}
impl TryFrom<&str> for Process {
type Error = InvalidProcess;
fn try_from(value: &str) -> Result<Self, Self::Error> {
Process::try_create(value)
}
}