Enum mz_compute_client::controller::ComputeError
source · [−]pub enum ComputeError {
InstanceMissing(ComputeInstanceId),
IdentifierMissing(GlobalId),
ReplicaMissing(ReplicaId),
InstanceExists(ComputeInstanceId),
DataflowMalformed,
DataflowSinceViolation(GlobalId),
PeekSinceViolation(GlobalId),
ClientError(Error),
StorageError(StorageError),
}
Expand description
Errors arising from compute commands.
Variants
InstanceMissing(ComputeInstanceId)
Command referenced an instance that was not present.
IdentifierMissing(GlobalId)
Command referenced an identifier that was not present.
ReplicaMissing(ReplicaId)
Command referenced a replica that was not present.
InstanceExists(ComputeInstanceId)
The identified instance exists already.
DataflowMalformed
Dataflow was malformed (e.g. missing as_of
).
DataflowSinceViolation(GlobalId)
The dataflow as_of
was not greater than the since
of the identifier.
PeekSinceViolation(GlobalId)
The peek timestamp
was not greater than the since
of the identifier.
ClientError(Error)
An error from the underlying client.
StorageError(StorageError)
An error during an interaction with Storage
Trait Implementations
sourceimpl Debug for ComputeError
impl Debug for ComputeError
sourceimpl Display for ComputeError
impl Display for ComputeError
sourceimpl Error for ComputeError
impl Error for ComputeError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Error> for ComputeError
impl From<Error> for ComputeError
sourceimpl From<StorageError> for ComputeError
impl From<StorageError> for ComputeError
sourcefn from(error: StorageError) -> Self
fn from(error: StorageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for ComputeError
impl Send for ComputeError
impl Sync for ComputeError
impl Unpin for ComputeError
impl !UnwindSafe for ComputeError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> DisplayExt for Twhere
T: Display,
impl<T> DisplayExt for Twhere
T: Display,
sourcefn to_string_alt(&self) -> String
fn to_string_alt(&self) -> String
Formats an object with the “alternative” format (
{:#}
) and returns it.sourceimpl<T> FutureExt for T
impl<T> FutureExt for T
sourcefn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
sourcefn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
sourceimpl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
sourcefn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
See
RustType::from_proto
.sourcefn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
See
RustType::into_proto
.