pub enum NativeOperatorBuilderError {
Invalid(String),
MissingFile(PathBuf),
OutputExists(PathBuf),
Io {
path: PathBuf,
source: Error,
},
Json {
path: PathBuf,
source: Error,
},
Tool {
tool: String,
status: String,
stderr: String,
},
Resolve(NativeOperatorResolveError),
ArtifactSet(NativeOperatorArtifactSetError),
BuildCache(NativeBuildArtifactCacheError),
SourceBuildRejected {
receipt_path: PathBuf,
reason: String,
},
}Variants§
Invalid(String)
MissingFile(PathBuf)
OutputExists(PathBuf)
Io
Json
Tool
Resolve(NativeOperatorResolveError)
ArtifactSet(NativeOperatorArtifactSetError)
BuildCache(NativeBuildArtifactCacheError)
SourceBuildRejected
Trait Implementations§
Source§impl Debug for NativeOperatorBuilderError
impl Debug for NativeOperatorBuilderError
Source§impl Display for NativeOperatorBuilderError
impl Display for NativeOperatorBuilderError
Source§impl Error for NativeOperatorBuilderError
impl Error for NativeOperatorBuilderError
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 From<NativeBuildArtifactCacheError> for NativeOperatorBuilderError
impl From<NativeBuildArtifactCacheError> for NativeOperatorBuilderError
Source§fn from(source: NativeBuildArtifactCacheError) -> Self
fn from(source: NativeBuildArtifactCacheError) -> Self
Converts to this type from the input type.
Source§impl From<NativeOperatorArtifactSetError> for NativeOperatorBuilderError
impl From<NativeOperatorArtifactSetError> for NativeOperatorBuilderError
Source§fn from(source: NativeOperatorArtifactSetError) -> Self
fn from(source: NativeOperatorArtifactSetError) -> Self
Converts to this type from the input type.
Source§impl From<NativeOperatorResolveError> for NativeOperatorBuilderError
impl From<NativeOperatorResolveError> for NativeOperatorBuilderError
Source§fn from(source: NativeOperatorResolveError) -> Self
fn from(source: NativeOperatorResolveError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for NativeOperatorBuilderError
impl !UnwindSafe for NativeOperatorBuilderError
impl Freeze for NativeOperatorBuilderError
impl Send for NativeOperatorBuilderError
impl Sync for NativeOperatorBuilderError
impl Unpin for NativeOperatorBuilderError
impl UnsafeUnpin for NativeOperatorBuilderError
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