Enum contack::read_write::component::error::ComponentParseError [−][src]
pub enum ComponentParseError {
NoName,
NoValue,
Invalid(String),
}
This is supported on crate feature
read_write
only.Expand description
An error type for when parsing a Component
.
Variants
NoName
A component has no name
NoValue
A component has no value
Invalid(String)
Tuple Fields
0: String
A component is invalid
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ComponentParseError
impl Send for ComponentParseError
impl Sync for ComponentParseError
impl Unpin for ComponentParseError
impl UnwindSafe for ComponentParseError
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more