pub enum IngestError {
LoadConfigError(Box<dyn Error + Send + Sync>),
AuthenticationError {
message: Option<String>,
client: Box<IngestClient<UnauthenticatedState>>,
},
ProtocolError(&'static str),
CborEncode(Error<Error>),
CborDecode(Error),
Timeout(Elapsed),
AttrKeyNaming,
IngestClientInitializationError(IngestClientInitializationError),
Io(Error),
}
Variants§
LoadConfigError(Box<dyn Error + Send + Sync>)
AuthenticationError
ProtocolError(&'static str)
CborEncode(Error<Error>)
CborDecode(Error)
Timeout(Elapsed)
AttrKeyNaming
IngestClientInitializationError(IngestClientInitializationError)
Io(Error)
Trait Implementations§
Source§impl Debug for IngestError
impl Debug for IngestError
Source§impl Display for IngestError
impl Display for IngestError
Source§impl Error for IngestError
impl Error for IngestError
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<Elapsed> for IngestError
impl From<Elapsed> for IngestError
Source§impl From<Error> for IngestError
impl From<Error> for IngestError
Source§impl From<Error> for IngestError
impl From<Error> for IngestError
Source§impl From<IngestClientInitializationError> for IngestError
impl From<IngestClientInitializationError> for IngestError
Source§fn from(source: IngestClientInitializationError) -> Self
fn from(source: IngestClientInitializationError) -> Self
Converts to this type from the input type.
Source§impl From<IngestError> for DynamicIngestError
impl From<IngestError> for DynamicIngestError
Source§fn from(source: IngestError) -> Self
fn from(source: IngestError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IngestError
impl !RefUnwindSafe for IngestError
impl Send for IngestError
impl Sync for IngestError
impl Unpin 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