pub enum ArtifactStoreError {
NotFound(String),
Io(Error),
Sidecar(StoreError),
}Expand description
Errors from the artifact store.
Variants§
NotFound(String)
No artifact with the given id is stored.
Io(Error)
A filesystem operation failed.
Sidecar(StoreError)
Writing a provenance sidecar failed.
Trait Implementations§
Source§impl Debug for ArtifactStoreError
impl Debug for ArtifactStoreError
Source§impl Display for ArtifactStoreError
impl Display for ArtifactStoreError
Source§impl Error for ArtifactStoreError
impl Error for ArtifactStoreError
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 ArtifactStoreError
impl From<Error> for ArtifactStoreError
Source§impl From<StoreError> for ArtifactStoreError
impl From<StoreError> for ArtifactStoreError
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ArtifactStoreError
impl !UnwindSafe for ArtifactStoreError
impl Freeze for ArtifactStoreError
impl Send for ArtifactStoreError
impl Sync for ArtifactStoreError
impl Unpin for ArtifactStoreError
impl UnsafeUnpin for ArtifactStoreError
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