pub enum Refined<X, T> {
Done(T),
Exhausted(X),
}Expand description
How a refinement ended.
Variants§
Done(T)
A step accepted this.
Exhausted(X)
Every step was taken; the last asked for this resolution.
Implementations§
Trait Implementations§
impl<X: Eq, T: Eq> Eq for Refined<X, T>
impl<X: PartialEq, T: PartialEq> StructuralPartialEq for Refined<X, T>
Auto Trait Implementations§
impl<X, T> Freeze for Refined<X, T>
impl<X, T> RefUnwindSafe for Refined<X, T>where
T: RefUnwindSafe,
X: RefUnwindSafe,
impl<X, T> Send for Refined<X, T>
impl<X, T> Sync for Refined<X, T>
impl<X, T> Unpin for Refined<X, T>
impl<X, T> UnsafeUnpin for Refined<X, T>where
T: UnsafeUnpin,
X: UnsafeUnpin,
impl<X, T> UnwindSafe for Refined<X, T>where
T: UnwindSafe,
X: UnwindSafe,
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