pub enum BatchValidationError {
JsonParseError(JsonParseError),
RequestIdsMismatch {
index: BatchIndex,
input_ids: Option<HashSet<CustomRequestId>>,
output_ids: Option<HashSet<CustomRequestId>>,
error_ids: Option<HashSet<CustomRequestId>>,
},
}
Variants§
JsonParseError(JsonParseError)
RequestIdsMismatch
Fields
§
index: BatchIndex
§
input_ids: Option<HashSet<CustomRequestId>>
§
output_ids: Option<HashSet<CustomRequestId>>
§
error_ids: Option<HashSet<CustomRequestId>>
Trait Implementations§
Source§impl Debug for BatchValidationError
impl Debug for BatchValidationError
Source§impl Display for BatchValidationError
impl Display for BatchValidationError
Source§impl From<JsonParseError> for BatchValidationError
impl From<JsonParseError> for BatchValidationError
Source§fn from(x: JsonParseError) -> Self
fn from(x: JsonParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BatchValidationError
impl !RefUnwindSafe for BatchValidationError
impl Send for BatchValidationError
impl Sync for BatchValidationError
impl Unpin for BatchValidationError
impl !UnwindSafe for BatchValidationError
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