pub(super) enum ProjectAndUnifyResult<'tcx> {
Holds(Vec<PredicateObligation<'tcx>>),
FailedNormalization,
Recursive,
MismatchedProjectionTypes(MismatchedProjectionTypes<'tcx>),
}Expand description
Takes the place of a Result< Result<Option<Vec<PredicateObligation<’tcx>>>, InProgress>, MismatchedProjectionTypes<’tcx>, >
Variants
Holds(Vec<PredicateObligation<'tcx>>)
FailedNormalization
Recursive
MismatchedProjectionTypes(MismatchedProjectionTypes<'tcx>)
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for ProjectAndUnifyResult<'tcx>
impl<'tcx> !Send for ProjectAndUnifyResult<'tcx>
impl<'tcx> !Sync for ProjectAndUnifyResult<'tcx>
impl<'tcx> Unpin for ProjectAndUnifyResult<'tcx>
impl<'tcx> !UnwindSafe for ProjectAndUnifyResult<'tcx>
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
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes
Size for each variant:
Holds: 24 bytesFailedNormalization: 0 bytesRecursive: 0 bytesMismatchedProjectionTypes: 32 bytes