pub enum BackendError {
Unsupported(String),
CopyData(StorageError),
LocalDisk(LocalDiskError),
Registry(RegistryError),
LocalFs(LocalFsError),
ObjectStorage(ObjectStorageError),
HttpProxy(HttpProxyError),
}Expand description
Error codes related to storage backend operations.
Variants§
Unsupported(String)
Unsupported operation.
CopyData(StorageError)
Failed to copy data from/into blob.
LocalDisk(LocalDiskError)
Error from LocalDisk storage backend.
Registry(RegistryError)
Error from Registry storage backend.
LocalFs(LocalFsError)
Error from LocalFs storage backend.
ObjectStorage(ObjectStorageError)
Error from object storage backend.
HttpProxy(HttpProxyError)
Error from local http proxy backend.
Trait Implementations§
Source§impl Debug for BackendError
impl Debug for BackendError
Source§impl Display for BackendError
impl Display for BackendError
Source§impl From<HttpProxyError> for BackendError
impl From<HttpProxyError> for BackendError
Source§fn from(error: HttpProxyError) -> Self
fn from(error: HttpProxyError) -> Self
Converts to this type from the input type.
Source§impl From<LocalDiskError> for BackendError
impl From<LocalDiskError> for BackendError
Source§fn from(error: LocalDiskError) -> Self
fn from(error: LocalDiskError) -> Self
Converts to this type from the input type.
Source§impl From<LocalFsError> for BackendError
impl From<LocalFsError> for BackendError
Source§fn from(error: LocalFsError) -> Self
fn from(error: LocalFsError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStorageError> for BackendError
impl From<ObjectStorageError> for BackendError
Source§fn from(err: ObjectStorageError) -> Self
fn from(err: ObjectStorageError) -> Self
Converts to this type from the input type.
Source§impl From<RegistryError> for BackendError
impl From<RegistryError> for BackendError
Source§fn from(error: RegistryError) -> Self
fn from(error: RegistryError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BackendError
impl !RefUnwindSafe for BackendError
impl Send for BackendError
impl Sync for BackendError
impl Unpin for BackendError
impl UnsafeUnpin for BackendError
impl !UnwindSafe for BackendError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.