Enum rustc_incremental::LoadResult [−][src]
pub enum LoadResult<T> {
Ok {
data: T,
},
DataOutOfDate,
Error {
message: String,
},
}Expand description
Represents the result of an attempt to load incremental compilation data.
Variants
Ok
Loading was successful.
DataOutOfDate
The file either didn’t exist or was produced by an incompatible compiler version.
Error
Fields
message: StringAn error occured.
Implementations
Accesses the data returned in LoadResult::Ok.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for LoadResult<T> where
T: RefUnwindSafe,
impl<T> Send for LoadResult<T> where
T: Send,
impl<T> Sync for LoadResult<T> where
T: Sync,
impl<T> Unpin for LoadResult<T> where
T: Unpin,
impl<T> UnwindSafe for LoadResult<T> where
T: UnwindSafe,
Blanket Implementations
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.
