pub enum CompError {
Store(StoreError),
Manifest(ManifestError),
Json(Error),
Wasmtime(Error),
SchemaValidation(String),
BindingNotFound(String),
SecretNotDeclared(String),
SecretResolution {
key: String,
source: Box<CompError>,
},
OperationNotFound(String),
HostFeatureDenied(&'static str),
InvalidManifest(&'static str),
Runtime(String),
}Variants§
Store(StoreError)
Manifest(ManifestError)
Json(Error)
Wasmtime(Error)
SchemaValidation(String)
BindingNotFound(String)
SecretNotDeclared(String)
SecretResolution
OperationNotFound(String)
HostFeatureDenied(&'static str)
InvalidManifest(&'static str)
Runtime(String)
Implementations§
Trait Implementations§
Source§impl Error for CompError
impl Error for CompError
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 CompError
impl From<Error> for CompError
Source§fn from(source: WasmtimeError) -> Self
fn from(source: WasmtimeError) -> Self
Converts to this type from the input type.
Source§impl From<ManifestError> for CompError
impl From<ManifestError> for CompError
Source§fn from(source: ManifestError) -> Self
fn from(source: ManifestError) -> Self
Converts to this type from the input type.
Source§impl From<StoreError> for CompError
impl From<StoreError> for CompError
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
Source§impl<'a> From<ValidationError<'a>> for CompError
impl<'a> From<ValidationError<'a>> for CompError
Source§fn from(value: ValidationError<'a>) -> Self
fn from(value: ValidationError<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CompError
impl !RefUnwindSafe for CompError
impl Send for CompError
impl Sync for CompError
impl Unpin for CompError
impl !UnwindSafe for CompError
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> 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 moreSource§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.