pub enum ServingError {
Show 17 variants
StreamUnsupported,
Lifecycle(Error),
Contract(ContractError),
Declaration(Error),
Unknown {
operation: String,
},
Streaming {
operation: String,
},
Duplicate {
invocation: u64,
},
Missing {
invocation: u64,
},
Uninitialized,
InitializationStarted,
Capacity,
Unsettled,
Closing,
Catalog,
Codec(MessageError),
Panicked,
Handler(Failure),
}Variants§
StreamUnsupported
Lifecycle(Error)
Contract(ContractError)
Declaration(Error)
Unknown
Streaming
Duplicate
Missing
Uninitialized
InitializationStarted
Capacity
Unsettled
Closing
Catalog
Codec(MessageError)
Panicked
Handler(Failure)
Implementations§
Source§impl ServingError
impl ServingError
pub fn classification(&self) -> FailureKind
Trait Implementations§
Source§impl Debug for ServingError
impl Debug for ServingError
Source§impl Display for ServingError
impl Display for ServingError
Source§impl Error for ServingError
impl Error for ServingError
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<ContractError> for ServingError
impl From<ContractError> for ServingError
Source§fn from(source: ContractError) -> Self
fn from(source: ContractError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ServingError
impl From<Error> for ServingError
Auto Trait Implementations§
impl !RefUnwindSafe for ServingError
impl !UnwindSafe for ServingError
impl Freeze for ServingError
impl Send for ServingError
impl Sync for ServingError
impl Unpin for ServingError
impl UnsafeUnpin for ServingError
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