pub enum AggregationError {
DeserializationError(Error),
AggregationFailed(String),
InvalidPacketType {
expected: String,
actual: DataType,
},
EmptyInput,
}Expand description
Errors that can occur during packet aggregation
Variants§
DeserializationError(Error)
Payload deserialization failed
AggregationFailed(String)
Hierarchical aggregation operation failed
InvalidPacketType
Invalid packet type for aggregation
EmptyInput
Empty input when non-empty required
Trait Implementations§
Source§impl Debug for AggregationError
impl Debug for AggregationError
Source§impl Display for AggregationError
impl Display for AggregationError
Source§impl Error for AggregationError
impl Error for AggregationError
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 AggregationError
impl !RefUnwindSafe for AggregationError
impl Send for AggregationError
impl Sync for AggregationError
impl Unpin for AggregationError
impl UnsafeUnpin for AggregationError
impl !UnwindSafe for AggregationError
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