Enum chalk_ir::FallibleOrFloundered
source · [−]pub enum FallibleOrFloundered<T> {
Ok(T),
NoSolution,
Floundered,
}
Expand description
A combination of Fallible
and Floundered
.
Variants
Ok(T)
Success
NoSolution
No solution. See chalk_ir::NoSolution
.
Floundered
Floundered. See chalk_ir::Floundered
.
Auto Trait Implementations
impl<T> RefUnwindSafe for FallibleOrFloundered<T> where
T: RefUnwindSafe,
impl<T> Send for FallibleOrFloundered<T> where
T: Send,
impl<T> Sync for FallibleOrFloundered<T> where
T: Sync,
impl<T> Unpin for FallibleOrFloundered<T> where
T: Unpin,
impl<T> UnwindSafe for FallibleOrFloundered<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Cast for T
impl<T> Cast for T
sourcefn cast<U>(self, interner: U::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: U::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
Cast a value to type U
using CastTo
.