Trait owoof::FromBorrowedStr
source · [−]pub trait FromBorrowedStr<'a>: Sized {
type Err;
fn from_borrowed_str(s: &'a str) -> Result<Self, Self::Err>;
}
Associated Types
Required methods
fn from_borrowed_str(s: &'a str) -> Result<Self, Self::Err>
Implementors
sourceimpl<'a> FromBorrowedStr<'a> for Variable<'a>
impl<'a> FromBorrowedStr<'a> for Variable<'a>
Allows Either<Variable, _>
to implement FromBorrowedStr
.
type Err = VariableParseError
sourceimpl<'a> FromBorrowedStr<'a> for ValueRef<'a>
impl<'a> FromBorrowedStr<'a> for ValueRef<'a>
Opposite of fmt::Display
. Requires the serde_json
feature.
sourceimpl<'a> FromBorrowedStr<'a> for Pattern<'a, Value>
impl<'a> FromBorrowedStr<'a> for Pattern<'a, Value>
Requires the serde_json
feature.