Enum pravega_client::index::writer::IndexWriterError
source · pub enum IndexWriterError {
InvalidData {
source: Error,
backtrace: Backtrace,
},
InvalidFields {
msg: String,
},
InvalidCondition {
msg: String,
},
Internal {
msg: String,
},
}
Variants§
Trait Implementations§
source§impl Debug for IndexWriterError
impl Debug for IndexWriterError
source§impl Display for IndexWriterError
impl Display for IndexWriterError
source§impl Error for IndexWriterError
impl Error for IndexWriterError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§impl ErrorCompat for IndexWriterError
impl ErrorCompat for IndexWriterError
source§impl<__T0> IntoError<IndexWriterError> for Internal<__T0>
impl<__T0> IntoError<IndexWriterError> for Internal<__T0>
source§fn into_error(self, error: Self::Source) -> IndexWriterError
fn into_error(self, error: Self::Source) -> IndexWriterError
Combine the information to produce the error
source§impl<__T0> IntoError<IndexWriterError> for InvalidCondition<__T0>
impl<__T0> IntoError<IndexWriterError> for InvalidCondition<__T0>
source§fn into_error(self, error: Self::Source) -> IndexWriterError
fn into_error(self, error: Self::Source) -> IndexWriterError
Combine the information to produce the error
source§impl IntoError<IndexWriterError> for InvalidDatawhere
IndexWriterError: Error + ErrorCompat,
impl IntoError<IndexWriterError> for InvalidDatawhere
IndexWriterError: Error + ErrorCompat,
source§fn into_error(self, error: Self::Source) -> IndexWriterError
fn into_error(self, error: Self::Source) -> IndexWriterError
Combine the information to produce the error
source§impl<__T0> IntoError<IndexWriterError> for InvalidFields<__T0>
impl<__T0> IntoError<IndexWriterError> for InvalidFields<__T0>
source§fn into_error(self, error: Self::Source) -> IndexWriterError
fn into_error(self, error: Self::Source) -> IndexWriterError
Combine the information to produce the error
Auto Trait Implementations§
impl Freeze for IndexWriterError
impl !RefUnwindSafe for IndexWriterError
impl Send for IndexWriterError
impl Sync for IndexWriterError
impl Unpin for IndexWriterError
impl !UnwindSafe for IndexWriterError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request