Enum pravega_client::index::reader::IndexReaderError
source · pub enum IndexReaderError {
FieldNotFound {
msg: String,
},
InvalidOffset {
msg: String,
},
Internal {
msg: String,
},
}
Variants§
Trait Implementations§
source§impl Debug for IndexReaderError
impl Debug for IndexReaderError
source§impl Display for IndexReaderError
impl Display for IndexReaderError
source§impl Error for IndexReaderError
impl Error for IndexReaderError
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 IndexReaderError
impl ErrorCompat for IndexReaderError
source§impl<__T0> IntoError<IndexReaderError> for FieldNotFound<__T0>
impl<__T0> IntoError<IndexReaderError> for FieldNotFound<__T0>
source§fn into_error(self, error: Self::Source) -> IndexReaderError
fn into_error(self, error: Self::Source) -> IndexReaderError
Combine the information to produce the error
source§impl<__T0> IntoError<IndexReaderError> for Internal<__T0>
impl<__T0> IntoError<IndexReaderError> for Internal<__T0>
source§fn into_error(self, error: Self::Source) -> IndexReaderError
fn into_error(self, error: Self::Source) -> IndexReaderError
Combine the information to produce the error
source§impl<__T0> IntoError<IndexReaderError> for InvalidOffset<__T0>
impl<__T0> IntoError<IndexReaderError> for InvalidOffset<__T0>
source§fn into_error(self, error: Self::Source) -> IndexReaderError
fn into_error(self, error: Self::Source) -> IndexReaderError
Combine the information to produce the error
Auto Trait Implementations§
impl Freeze for IndexReaderError
impl RefUnwindSafe for IndexReaderError
impl Send for IndexReaderError
impl Sync for IndexReaderError
impl Unpin for IndexReaderError
impl UnwindSafe for IndexReaderError
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