Enum thor::FragmentSenderError
source · pub enum FragmentSenderError {
FragmentNotInBlock {
alias: String,
reason: String,
logs: Vec<String>,
},
TooManyAttemptsFailed {
attempts: u8,
alias: String,
},
FragmentVerifierError(FragmentVerifierError),
SendFragmentError(FragmentNodeError),
SyncNodeError(SyncNodeError),
WalletError(WalletError),
TransactionAutoConfirmDisabledError,
FragmentExporterError(FragmentExporterError),
FragmentBuilder(FragmentBuilderError),
}
Variants§
FragmentNotInBlock
TooManyAttemptsFailed
FragmentVerifierError(FragmentVerifierError)
SendFragmentError(FragmentNodeError)
SyncNodeError(SyncNodeError)
WalletError(WalletError)
TransactionAutoConfirmDisabledError
FragmentExporterError(FragmentExporterError)
FragmentBuilder(FragmentBuilderError)
Implementations§
Trait Implementations§
source§impl Debug for FragmentSenderError
impl Debug for FragmentSenderError
source§impl Display for FragmentSenderError
impl Display for FragmentSenderError
source§impl Error for FragmentSenderError
impl Error for FragmentSenderError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<FragmentBuilderError> for FragmentSenderError
impl From<FragmentBuilderError> for FragmentSenderError
source§fn from(source: FragmentBuilderError) -> Self
fn from(source: FragmentBuilderError) -> Self
Converts to this type from the input type.
source§impl From<FragmentExporterError> for FragmentSenderError
impl From<FragmentExporterError> for FragmentSenderError
source§fn from(source: FragmentExporterError) -> Self
fn from(source: FragmentExporterError) -> Self
Converts to this type from the input type.
source§impl From<FragmentNodeError> for FragmentSenderError
impl From<FragmentNodeError> for FragmentSenderError
source§fn from(source: FragmentNodeError) -> Self
fn from(source: FragmentNodeError) -> Self
Converts to this type from the input type.
source§impl From<FragmentSenderError> for Error
impl From<FragmentSenderError> for Error
source§fn from(source: FragmentSenderError) -> Self
fn from(source: FragmentSenderError) -> Self
Converts to this type from the input type.
source§impl From<FragmentSenderError> for FragmentChainSenderError
impl From<FragmentSenderError> for FragmentChainSenderError
source§fn from(source: FragmentSenderError) -> Self
fn from(source: FragmentSenderError) -> Self
Converts to this type from the input type.
source§impl From<FragmentVerifierError> for FragmentSenderError
impl From<FragmentVerifierError> for FragmentSenderError
source§fn from(source: FragmentVerifierError) -> Self
fn from(source: FragmentVerifierError) -> Self
Converts to this type from the input type.
source§impl From<SyncNodeError> for FragmentSenderError
impl From<SyncNodeError> for FragmentSenderError
source§fn from(source: SyncNodeError) -> Self
fn from(source: SyncNodeError) -> Self
Converts to this type from the input type.
source§impl From<WalletError> for FragmentSenderError
impl From<WalletError> for FragmentSenderError
source§fn from(source: WalletError) -> Self
fn from(source: WalletError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for FragmentSenderError
impl Send for FragmentSenderError
impl Sync for FragmentSenderError
impl Unpin for FragmentSenderError
impl !UnwindSafe for FragmentSenderError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request