pub enum IngestError {
Unavailable {
message: String,
},
Internal {
message: String,
},
}Expand description
Why an ingest write was not accepted.
Backends choose the variant; the Connect layer maps it to the wire code and retry details.
Variants§
The write cannot currently be accepted; clients may retry with backoff.
Internal
The write failed in a way retries will not fix.
Trait Implementations§
Source§impl Clone for IngestError
impl Clone for IngestError
Source§fn clone(&self) -> IngestError
fn clone(&self) -> IngestError
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 IngestError
impl Debug for IngestError
Source§impl Display for IngestError
impl Display for IngestError
impl Eq for IngestError
Source§impl Error for IngestError
impl Error for IngestError
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 PartialEq for IngestError
impl PartialEq for IngestError
impl StructuralPartialEq for IngestError
Auto Trait Implementations§
impl Freeze for IngestError
impl RefUnwindSafe for IngestError
impl Send for IngestError
impl Sync for IngestError
impl Unpin for IngestError
impl UnsafeUnpin for IngestError
impl UnwindSafe for IngestError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.