pub enum ValueError {
NotAFunction(NotAFunction),
IncomparableRegions(IncomparableRegions),
RegionAlreadyFused(RegionAlreadyFused),
NotImplementedError,
}
Expand description
A rain
value error
Variants§
NotAFunction(NotAFunction)
A non-function value was applied in an S-expression
IncomparableRegions(IncomparableRegions)
Incomparable regions
RegionAlreadyFused(RegionAlreadyFused)
A region has already been fused
NotImplementedError
Not implemented
Trait Implementations§
Source§impl Clone for ValueError
impl Clone for ValueError
Source§fn clone(&self) -> ValueError
fn clone(&self) -> ValueError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ValueError
impl Debug for ValueError
Source§impl From<IncomparableRegions> for ValueError
impl From<IncomparableRegions> for ValueError
Source§fn from(i: IncomparableRegions) -> ValueError
fn from(i: IncomparableRegions) -> ValueError
Converts to this type from the input type.
Source§impl From<Infallible> for ValueError
impl From<Infallible> for ValueError
Source§fn from(i: Infallible) -> ValueError
fn from(i: Infallible) -> ValueError
Converts to this type from the input type.
Source§impl From<NotAFunction> for ValueError
impl From<NotAFunction> for ValueError
Source§fn from(n: NotAFunction) -> ValueError
fn from(n: NotAFunction) -> ValueError
Converts to this type from the input type.
Source§impl From<RegionAlreadyFused> for ValueError
impl From<RegionAlreadyFused> for ValueError
Source§fn from(err: RegionAlreadyFused) -> ValueError
fn from(err: RegionAlreadyFused) -> ValueError
Converts to this type from the input type.
Source§impl From<RegionError> for ValueError
impl From<RegionError> for ValueError
Source§fn from(err: RegionError) -> ValueError
fn from(err: RegionError) -> ValueError
Converts to this type from the input type.
Source§impl<'a> From<ValueError> for BuilderError<'a>
impl<'a> From<ValueError> for BuilderError<'a>
Source§fn from(err: ValueError) -> BuilderError<'a>
fn from(err: ValueError) -> BuilderError<'a>
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ValueError
impl !RefUnwindSafe for ValueError
impl Send for ValueError
impl Sync for ValueError
impl Unpin for ValueError
impl !UnwindSafe for ValueError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more