pub enum GovernedBlobError {
Resolve(SqliteError),
Construct(RuntimeError),
}Expand description
Error from BlobHydrator::resolve_for_governing_backend, split so boot
can distinguish store resolution failures (which fall back to “no blob
configured” when [storage.blob] is absent) from budget pairing failures
(always fatal).
Variants§
Resolve(SqliteError)
The configured store could not be resolved for the governing mode.
Construct(RuntimeError)
The resolved store could not be paired with the hydration budget.
Trait Implementations§
Source§impl Debug for GovernedBlobError
impl Debug for GovernedBlobError
Source§impl Display for GovernedBlobError
impl Display for GovernedBlobError
Source§impl Error for GovernedBlobError
impl Error for GovernedBlobError
1.30.0 · 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()
Auto Trait Implementations§
impl !RefUnwindSafe for GovernedBlobError
impl !UnwindSafe for GovernedBlobError
impl Forget for GovernedBlobError
impl Freeze for GovernedBlobErrorwhere
&'static str: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const dyn Error + Sync + Send is !null: Freeze,
PhantomData<dyn Error + Sync + Send>: Freeze,
*const StorageError is !null: Freeze,
PhantomData<StorageError>: Freeze,
String: Freeze,
*const SecretMatch is !null: Freeze,
PhantomData<SecretMatch>: Freeze,
*const () is !null: Freeze,
PhantomData<ErrorData<CustomOwner>>: Freeze,
*const SqliteError is !null: Freeze,
PhantomData<SqliteError>: Freeze,
*const RuntimeError is !null: Freeze,
PhantomData<RuntimeError>: Freeze,
*const LintFixFailureDetail is !null: Freeze,
PhantomData<LintFixFailureDetail>: Freeze,
*const AuditObligationFailure is !null: Freeze,
PhantomData<AuditObligationFailure>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<MissingPackDependency>: Freeze,
PhantomData<String>: Freeze,
*const ReceiptRefusal is !null: Freeze,
PhantomData<ReceiptRefusal>: Freeze,
PhantomData<RefusalEventRecording>: Freeze,
*const BatchWriteContext is !null: Freeze,
PhantomData<BatchWriteContext>: Freeze,
PhantomData<Uuid>: Freeze,
*const DenialReceipt is !null: Freeze,
PhantomData<DenialReceipt>: Freeze,
PhantomData<(Cow<'static, str>, Cow<'static, str>)>: Freeze,
impl Move for GovernedBlobError
impl Send for GovernedBlobErrorwhere
&'static str: Send,
RawVecInner: Send,
BoxRaw<dyn Error + Sync + Send>: Send,
BoxRaw<StorageError>: Send,
String: Send,
BoxRaw<SecretMatch>: Send,
Repr: Send,
BoxRaw<SqliteError>: Send,
BoxRaw<RuntimeError>: Send,
BoxRaw<LintFixFailureDetail>: Send,
BoxRaw<AuditObligationFailure>: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
BoxRaw<ReceiptRefusal>: Send,
BoxRaw<BatchWriteContext>: Send,
BoxRaw<DenialReceipt>: Send,
impl Sync for GovernedBlobErrorwhere
RawVecInner: Sync,
BoxRaw<dyn Error + Sync + Send>: Sync,
BoxRaw<StorageError>: Sync,
String: Sync,
BoxRaw<SecretMatch>: Sync,
Repr: Sync,
BoxRaw<SqliteError>: Sync,
BoxRaw<RuntimeError>: Sync,
BoxRaw<LintFixFailureDetail>: Sync,
BoxRaw<AuditObligationFailure>: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
BoxRaw<ReceiptRefusal>: Sync,
BoxRaw<BatchWriteContext>: Sync,
BoxRaw<DenialReceipt>: Sync,
impl Unpin for GovernedBlobErrorwhere
&'static str: Unpin,
*const u8 is !null: Unpin,
Box<dyn Error + Sync + Send>: Unpin,
Box<StorageError>: Unpin,
String: Unpin,
Box<SecretMatch>: Unpin,
*const () is !null: Unpin,
&'static SimpleMessage: Unpin,
*const Custom is !null: Unpin,
Box<SqliteError>: Unpin,
Box<RuntimeError>: Unpin,
Box<LintFixFailureDetail>: Unpin,
Box<AuditObligationFailure>: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
Box<ReceiptRefusal>: Unpin,
Box<BatchWriteContext>: Unpin,
Box<DenialReceipt>: Unpin,
impl UnsafeUnpin for GovernedBlobErrorwhere
&'static str: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const dyn Error + Sync + Send is !null: UnsafeUnpin,
PhantomData<dyn Error + Sync + Send>: UnsafeUnpin,
*const StorageError is !null: UnsafeUnpin,
PhantomData<StorageError>: UnsafeUnpin,
String: UnsafeUnpin,
*const SecretMatch is !null: UnsafeUnpin,
PhantomData<SecretMatch>: UnsafeUnpin,
*const () is !null: UnsafeUnpin,
PhantomData<ErrorData<CustomOwner>>: UnsafeUnpin,
*const SqliteError is !null: UnsafeUnpin,
PhantomData<SqliteError>: UnsafeUnpin,
*const RuntimeError is !null: UnsafeUnpin,
PhantomData<RuntimeError>: UnsafeUnpin,
*const LintFixFailureDetail is !null: UnsafeUnpin,
PhantomData<LintFixFailureDetail>: UnsafeUnpin,
*const AuditObligationFailure is !null: UnsafeUnpin,
PhantomData<AuditObligationFailure>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<MissingPackDependency>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const ReceiptRefusal is !null: UnsafeUnpin,
PhantomData<ReceiptRefusal>: UnsafeUnpin,
PhantomData<RefusalEventRecording>: UnsafeUnpin,
*const BatchWriteContext is !null: UnsafeUnpin,
PhantomData<BatchWriteContext>: UnsafeUnpin,
PhantomData<Uuid>: UnsafeUnpin,
*const DenialReceipt is !null: UnsafeUnpin,
PhantomData<DenialReceipt>: UnsafeUnpin,
PhantomData<(Cow<'static, str>, Cow<'static, str>)>: UnsafeUnpin,
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> 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