pub enum CoordinatorError {
Show 22 variants
IndexAlreadyReserved(usize),
MaskedInputAlreadySent(usize),
MaskReconstructionFailed(usize),
EthereumError(String),
U256ToFrError,
U256ToU64Error,
U64ToUsizeError,
ParsingDERAsPKCS8Failed,
ParsingPrivateKeyFailed,
DeserializationError,
SerializationError,
ParsingPublicKeyFailed,
EncryptionError,
DecryptionError,
JSONError(String),
SubscriptionError(String),
ParsingEncapsulatedKeyFailed,
CannotTransitionToIdle,
ShareError,
BindError(String),
ConnectError(String),
TlsConfigError(String),
}Variants§
IndexAlreadyReserved(usize)
MaskedInputAlreadySent(usize)
MaskReconstructionFailed(usize)
EthereumError(String)
U256ToFrError
U256ToU64Error
U64ToUsizeError
ParsingDERAsPKCS8Failed
ParsingPrivateKeyFailed
DeserializationError
SerializationError
ParsingPublicKeyFailed
EncryptionError
DecryptionError
JSONError(String)
SubscriptionError(String)
ParsingEncapsulatedKeyFailed
CannotTransitionToIdle
BindError(String)
ConnectError(String)
TlsConfigError(String)
Trait Implementations§
Source§impl Clone for CoordinatorError
impl Clone for CoordinatorError
Source§fn clone(&self) -> CoordinatorError
fn clone(&self) -> CoordinatorError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CoordinatorError
impl Debug for CoordinatorError
Source§impl<'de> Deserialize<'de> for CoordinatorError
impl<'de> Deserialize<'de> for CoordinatorError
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CoordinatorError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CoordinatorError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CoordinatorError
impl Display for CoordinatorError
Source§impl Error for CoordinatorError
impl Error for CoordinatorError
1.30.0 · 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<CoordinatorError> for Error
impl From<CoordinatorError> for Error
Source§fn from(source: CoordinatorError) -> Self
fn from(source: CoordinatorError) -> Self
Converts to this type from the input type.
Source§impl Serialize for CoordinatorError
impl Serialize for CoordinatorError
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for CoordinatorError
impl RefUnwindSafe for CoordinatorError
impl Send for CoordinatorError
impl Sync for CoordinatorError
impl Unpin for CoordinatorError
impl UnsafeUnpin for CoordinatorError
impl UnwindSafe for CoordinatorError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<E> Fail for E
impl<E> Fail for E
Source§fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read moreSource§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more