#[repr(C)]
pub enum ProcessResult<O, E> {
Unchanged,
Changed(Vec<O>),
Error(E),
}
Expand description
The result type used by process_obligation
.
Variants
Unchanged
Changed(Vec<O>)
Error(E)
Trait Implementations
Auto Trait Implementations
impl<O, E> RefUnwindSafe for ProcessResult<O, E>where
E: RefUnwindSafe,
O: RefUnwindSafe,
impl<O, E> Send for ProcessResult<O, E>where
E: Send,
O: Send,
impl<O, E> Sync for ProcessResult<O, E>where
E: Sync,
O: Sync,
impl<O, E> Unpin for ProcessResult<O, E>where
E: Unpin,
O: Unpin,
impl<O, E> UnwindSafe for ProcessResult<O, E>where
E: UnwindSafe,
O: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
impl<T> Erased for T
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.