pub enum BlockSourceErrorKind {
Persistent,
Transient,
}
Expand description
The kind of BlockSourceError
, either persistent or transient.
Variants§
Persistent
Indicates an error that won’t resolve when retrying a request (e.g., invalid data).
Transient
Indicates an error that may resolve when retrying a request (e.g., unresponsive).
Trait Implementations§
source§impl Clone for BlockSourceErrorKind
impl Clone for BlockSourceErrorKind
source§fn clone(&self) -> BlockSourceErrorKind
fn clone(&self) -> BlockSourceErrorKind
Returns a copy of the value. Read more
1.0.0 · 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 BlockSourceErrorKind
impl Debug for BlockSourceErrorKind
source§impl PartialEq<BlockSourceErrorKind> for BlockSourceErrorKind
impl PartialEq<BlockSourceErrorKind> for BlockSourceErrorKind
source§fn eq(&self, other: &BlockSourceErrorKind) -> bool
fn eq(&self, other: &BlockSourceErrorKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.