pub enum BypassReason {
Show 40 variants
NonUtf8Argument {
index: usize,
},
ResponseFile(String),
UnknownFlag(String),
UnknownCodegenOption(String),
MissingValue(String),
CompilerQuery,
StandardInput,
MissingInput,
MultipleInputs,
Incremental,
UnsupportedCrateType(String),
UnsupportedEmit(String),
NoCacheableOutput,
NoDepInfo,
SplitOutputDirectories,
InvalidOutputPath(PathBuf),
ImplicitEmitWithOutputFile(PathBuf),
NativeLibrary,
UnsupportedSearchPath(String),
UnresolvedExtern(String),
UnmappedAbsolutePath(PathBuf),
NonUtf8Path(PathBuf),
RelativeWorkingDirectory(PathBuf),
RelativePathMapping(PathBuf),
InvalidPathPlaceholder(String),
MissingRequiredInput(String),
InvalidInputDigest(String),
ConflictingInput(String),
MalformedDepInfo(String),
DepInfoRead {
path: PathBuf,
message: String,
},
RelativeDepInfoPath(PathBuf),
UnsafeDepInfoPath(PathBuf),
InputRead {
path: PathBuf,
message: String,
},
InputChanged(PathBuf),
InputModifiedDuringCompilation(PathBuf),
DiscoveryWorkingDirectory,
ConflictingEnvironment(String),
Serialization(String),
UnsupportedPrediction,
InvalidPredictedInput(String),
}Variants§
NonUtf8Argument
ResponseFile(String)
UnknownFlag(String)
UnknownCodegenOption(String)
MissingValue(String)
CompilerQuery
StandardInput
MissingInput
MultipleInputs
Incremental
UnsupportedCrateType(String)
UnsupportedEmit(String)
NoCacheableOutput
NoDepInfo
SplitOutputDirectories
InvalidOutputPath(PathBuf)
ImplicitEmitWithOutputFile(PathBuf)
NativeLibrary
UnsupportedSearchPath(String)
UnresolvedExtern(String)
UnmappedAbsolutePath(PathBuf)
NonUtf8Path(PathBuf)
RelativeWorkingDirectory(PathBuf)
RelativePathMapping(PathBuf)
InvalidPathPlaceholder(String)
MissingRequiredInput(String)
InvalidInputDigest(String)
ConflictingInput(String)
MalformedDepInfo(String)
DepInfoRead
RelativeDepInfoPath(PathBuf)
UnsafeDepInfoPath(PathBuf)
InputRead
InputChanged(PathBuf)
InputModifiedDuringCompilation(PathBuf)
DiscoveryWorkingDirectory
ConflictingEnvironment(String)
Serialization(String)
UnsupportedPrediction
InvalidPredictedInput(String)
Implementations§
Trait Implementations§
Source§impl Clone for BypassReason
impl Clone for BypassReason
Source§fn clone(&self) -> BypassReason
fn clone(&self) -> BypassReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BypassReason
impl Debug for BypassReason
Source§impl Display for BypassReason
impl Display for BypassReason
impl Eq for BypassReason
Source§impl Error for BypassReason
impl Error for BypassReason
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl<'_derivative_strum> From<&'_derivative_strum BypassReason> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum BypassReason> for &'static str
Source§fn from(x: &'_derivative_strum BypassReason) -> &'static str
fn from(x: &'_derivative_strum BypassReason) -> &'static str
Converts to this type from the input type.
Source§impl From<BypassReason> for &'static str
impl From<BypassReason> for &'static str
Source§fn from(x: BypassReason) -> &'static str
fn from(x: BypassReason) -> &'static str
Converts to this type from the input type.
Source§impl PartialEq for BypassReason
impl PartialEq for BypassReason
impl StructuralPartialEq for BypassReason
Auto Trait Implementations§
impl Freeze for BypassReason
impl RefUnwindSafe for BypassReason
impl Send for BypassReason
impl Sync for BypassReason
impl Unpin for BypassReason
impl UnsafeUnpin for BypassReason
impl UnwindSafe for BypassReason
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