pub enum PythonEnvironmentUpdateError {
InvalidSourceDigest,
CurrentInvalid(String),
CandidateInvalid(String),
MissingCacheRoot,
UnsafeCachePath {
path: PathBuf,
},
Uv {
operation: &'static str,
message: String,
},
Materialization(PythonMaterializationError),
Io(Error),
}Variants§
InvalidSourceDigest
CurrentInvalid(String)
CandidateInvalid(String)
MissingCacheRoot
UnsafeCachePath
Uv
Materialization(PythonMaterializationError)
Io(Error)
Trait Implementations§
Source§impl Debug for PythonEnvironmentUpdateError
impl Debug for PythonEnvironmentUpdateError
Source§impl Error for PythonEnvironmentUpdateError
impl Error for PythonEnvironmentUpdateError
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<Error> for PythonEnvironmentUpdateError
impl From<Error> for PythonEnvironmentUpdateError
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 PythonEnvironmentUpdateError
impl From<PythonMaterializationError> for PythonEnvironmentUpdateError
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 PythonEnvironmentUpdateError
impl !RefUnwindSafe for PythonEnvironmentUpdateError
impl Send for PythonEnvironmentUpdateError
impl Sync for PythonEnvironmentUpdateError
impl Unpin for PythonEnvironmentUpdateError
impl UnsafeUnpin for PythonEnvironmentUpdateError
impl !UnwindSafe for PythonEnvironmentUpdateError
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