#[non_exhaustive]pub enum CodeWaitError {
InvalidConfig,
Timeout {
address: QuaiAddress,
polls_completed: u32,
},
PollLimit {
address: QuaiAddress,
polls_completed: u32,
},
Provider(ProviderError),
Runtime,
}Expand description
Waiting errors do not undo deployments, change bindings or authorize transactions.
Variants (Non-exhaustive)§
This enum is marked as 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.
InvalidConfig
Invalid limits or zero expected genesis; no I/O occurs.
Timeout
Observable deadline expired, including time in a stalled read.
Fields
§
address: QuaiAddressWatched account.
PollLimit
Configured observation count exhausted; absence is not a terminal conclusion.
Provider(ProviderError)
Source error or mismatched identity/code, with no automatic retry.
Runtime
Browser monotonic timer infrastructure failed.
Trait Implementations§
Source§impl Debug for CodeWaitError
impl Debug for CodeWaitError
Source§impl Display for CodeWaitError
impl Display for CodeWaitError
Source§impl Error for CodeWaitError
impl Error for CodeWaitError
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<ProviderError> for CodeWaitError
impl From<ProviderError> for CodeWaitError
Source§fn from(source: ProviderError) -> Self
fn from(source: ProviderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for CodeWaitError
impl Freeze for CodeWaitError
impl Move for CodeWaitError
impl RefUnwindSafe for CodeWaitError
impl Send for CodeWaitError
impl Sync for CodeWaitError
impl Unpin for CodeWaitError
impl UnsafeUnpin for CodeWaitError
impl UnwindSafe for CodeWaitError
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