pub enum SparkPullError {
NotAvailable,
Internal,
NoCapability,
BadKey,
WriteLimit,
Unknown(i32),
}Expand description
Errors returned by pull.
Variants§
NotAvailable
Spark or the edge registry is not configured on this node.
Internal
Internal host error - see edge logs.
NoCapability
Flare lacks the WritesSparkKV capability.
BadKey
One of the keys (or the origin node ID) failed validation.
WriteLimit
Per-invocation pull limit reached (max_spark_pull_per_invocation,
currently 1).
Unknown(i32)
Unknown error code returned by the host.
Trait Implementations§
Source§impl Debug for SparkPullError
impl Debug for SparkPullError
Source§impl Display for SparkPullError
impl Display for SparkPullError
Source§impl Error for SparkPullError
impl Error for SparkPullError
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()
Auto Trait Implementations§
impl Freeze for SparkPullError
impl RefUnwindSafe for SparkPullError
impl Send for SparkPullError
impl Sync for SparkPullError
impl Unpin for SparkPullError
impl UnsafeUnpin for SparkPullError
impl UnwindSafe for SparkPullError
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