#[non_exhaustive]pub enum IngestError {
Decode {
kind: String,
reason: String,
},
NotRelayable {
kind: String,
},
Refused {
kind: String,
reason: String,
},
Version {
kind: String,
sent: u32,
here: u32,
},
}Expand description
Why an entry relayed in was not taken (Relay::ingest).
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.
Decode
Its point is declared here and its codec could not read the text (a sender of another version, a broken payload). Nothing was recorded.
NotRelayable
Its point is declared here but not relayable: a process may not publish it on this one. Nothing was recorded.
Refused
An authority of this bus refused it (Relay::add_authority).
Nothing was recorded.
Version
Its point is declared here with another version: the sender and this process do not mean the same payload by it. Nothing was recorded.
Trait Implementations§
Source§impl Clone for IngestError
impl Clone for IngestError
Source§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 Forget for IngestError
impl Freeze for IngestError
impl Move 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