Enum frugalos_mds::ErrorKind
source · pub enum ErrorKind {
InvalidInput,
Unexpected(Option<ObjectVersion>),
NotLeader,
Other,
}
Expand description
発生し得るエラーの種類.
Variants
InvalidInput
入力値が不正.
Unexpected(Option<ObjectVersion>)
期待されたバージョン以外のオブジェクトに対して操作が行われようとした.
値は、オブジェクトの実際のバージョン.
NotLeader
リーダ以外に対して要求が発行された.
Other
その他のエラー.
Trait Implementations
impl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralEq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ErrorKindExt for Twhere
T: ErrorKind,
impl<T> ErrorKindExt for Twhere
T: ErrorKind,
sourcefn error(self) -> TrackableError<Self>
fn error(self) -> TrackableError<Self>
Makes a
TrackableError
instance without cause. Read moresourcefn cause<E>(self, cause: E) -> TrackableError<Self>where
E: Into<Box<dyn Error + Sync + Send + 'static, Global>>,
fn cause<E>(self, cause: E) -> TrackableError<Self>where
E: Into<Box<dyn Error + Sync + Send + 'static, Global>>,
sourcefn takes_over<F, K>(self, from: F) -> TrackableError<Self>where
F: Into<TrackableError<K>>,
K: 'static + ErrorKind + Send + Sync,
fn takes_over<F, K>(self, from: F) -> TrackableError<Self>where
F: Into<TrackableError<K>>,
K: 'static + ErrorKind + Send + Sync,
Takes over from other
TrackableError
instance. Read more