mod as_ref;
mod try_from;
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
pub struct Arg(String);
#[derive(Clone, Debug)]
pub struct InvalidArg(String);
impl Arg {
pub fn try_create<S>(str: S) -> Result<Arg, InvalidArg>
where
S: Into<String>,
{
Ok(Arg(str.into()))
}
}