[−][src]Enum exonum::runtime::error::ErrorKind
Kind of execution error, indicates in which module error occurred.
Variants
Operation execution has been finished with panic.
An error in dispatcher during the execution occurred.
Fields of Dispatcher
code: u8
Error code, available values can be found in the description of the dispatcher's errors.
An error in the runtime occurred.
Fields of Runtime
code: u8
User-defined error code. Error codes can have different meanings for the different runtimes.
An error during the service's transaction execution occurred.
Fields of Service
code: u8
User-defined error code. Error codes can have different meanings for the different transactions and services.
Methods
impl ErrorKind
[src]
pub fn panic() -> Self
[src]
Creates panic error.
pub fn dispatcher(code: impl Into<u8>) -> Self
[src]
Creates dispatcher error with the specified code.
pub fn runtime(code: impl Into<u8>) -> Self
[src]
Creates runtime error with the specified code.
pub fn service(code: impl Into<u8>) -> Self
[src]
Creates service error with the specified code.
Trait Implementations
impl From<Error> for ErrorKind
[src]
impl From<Error> for ErrorKind
[src]
impl Clone for ErrorKind
[src]
impl Copy for ErrorKind
[src]
impl Eq for ErrorKind
[src]
impl Ord for ErrorKind
[src]
fn cmp(&self, other: &ErrorKind) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<ErrorKind> for ErrorKind
[src]
impl PartialOrd<ErrorKind> for ErrorKind
[src]
fn partial_cmp(&self, other: &ErrorKind) -> Option<Ordering>
[src]
fn lt(&self, other: &ErrorKind) -> bool
[src]
fn le(&self, other: &ErrorKind) -> bool
[src]
fn gt(&self, other: &ErrorKind) -> bool
[src]
fn ge(&self, other: &ErrorKind) -> bool
[src]
impl Debug for ErrorKind
[src]
impl Display for ErrorKind
[src]
impl Hash for ErrorKind
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl StructuralPartialEq for ErrorKind
[src]
impl StructuralEq for ErrorKind
[src]
Auto Trait Implementations
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
impl RefUnwindSafe for ErrorKind
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> Erased for T
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,