[−][src]Enum exonum::runtime::CommonError
List of possible common errors.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
The interface is absent in the service.
The method is absent in the service.
This caller is not authorized to call this method.
Malformed arguments for calling a service interface method.
Method with provided ID existed in the past, but now is removed.
Transition between the provided service states is not supported by the runtime.
Methods
impl CommonError
[src]
pub fn malformed_arguments(cause: impl Display) -> ExecutionError
[src]
Creates a MalformedArguments
error with the user-provided error cause.
The cause does not need to include the error location; this information is added
by the framework automatically.
Trait Implementations
impl Clone for CommonError
[src]
fn clone(&self) -> CommonError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CommonError
[src]
impl Debug for CommonError
[src]
impl Display for CommonError
[src]
impl Eq for CommonError
[src]
impl ExecutionFail for CommonError
[src]
fn kind(&self) -> ErrorKind
[src]
fn description(&self) -> String
[src]
fn with_description(&self, description: impl Display) -> ExecutionError
[src]
impl From<CommonError> for ExecutionError
[src]
fn from(inner: CommonError) -> Self
[src]
impl Hash for CommonError
[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 Ord for CommonError
[src]
fn cmp(&self, other: &CommonError) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<CommonError> for CommonError
[src]
fn eq(&self, other: &CommonError) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<CommonError> for CommonError
[src]
fn partial_cmp(&self, other: &CommonError) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for CommonError
[src]
impl StructuralPartialEq for CommonError
[src]
Auto Trait Implementations
impl RefUnwindSafe for CommonError
impl Send for CommonError
impl Sync for CommonError
impl Unpin for CommonError
impl UnwindSafe for CommonError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> 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 = Infallible
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,