pub enum PythonEnvironmentLifecycleError {
ReadSource {
path: PathBuf,
source: Error,
},
Environment(PythonEnvironmentError),
Materialization(PythonMaterializationError),
Update(PythonEnvironmentUpdateError),
Repair(PythonEnvironmentRepairError),
CandidateSourceMismatch,
CandidatePlanMismatch,
}Variants§
ReadSource
Environment(PythonEnvironmentError)
Materialization(PythonMaterializationError)
Update(PythonEnvironmentUpdateError)
Repair(PythonEnvironmentRepairError)
CandidateSourceMismatch
CandidatePlanMismatch
Trait Implementations§
Source§impl Error for PythonEnvironmentLifecycleError
impl Error for PythonEnvironmentLifecycleError
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<PythonEnvironmentError> for PythonEnvironmentLifecycleError
impl From<PythonEnvironmentError> for PythonEnvironmentLifecycleError
Source§fn from(source: PythonEnvironmentError) -> Self
fn from(source: PythonEnvironmentError) -> Self
Converts to this type from the input type.
Source§impl From<PythonEnvironmentRepairError> for PythonEnvironmentLifecycleError
impl From<PythonEnvironmentRepairError> for PythonEnvironmentLifecycleError
Source§fn from(source: PythonEnvironmentRepairError) -> Self
fn from(source: PythonEnvironmentRepairError) -> Self
Converts to this type from the input type.
Source§impl From<PythonEnvironmentUpdateError> for PythonEnvironmentLifecycleError
impl From<PythonEnvironmentUpdateError> for PythonEnvironmentLifecycleError
Source§fn from(source: PythonEnvironmentUpdateError) -> Self
fn from(source: PythonEnvironmentUpdateError) -> Self
Converts to this type from the input type.
Source§impl From<PythonMaterializationError> for PythonEnvironmentLifecycleError
impl From<PythonMaterializationError> for PythonEnvironmentLifecycleError
Source§fn from(source: PythonMaterializationError) -> Self
fn from(source: PythonMaterializationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PythonEnvironmentLifecycleError
impl !RefUnwindSafe for PythonEnvironmentLifecycleError
impl Send for PythonEnvironmentLifecycleError
impl Sync for PythonEnvironmentLifecycleError
impl Unpin for PythonEnvironmentLifecycleError
impl UnsafeUnpin for PythonEnvironmentLifecycleError
impl !UnwindSafe for PythonEnvironmentLifecycleError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more