pub enum BatchInsertError {
BodyNotJsonArray,
BatchTooLarge {
limit: usize,
got: usize,
},
RowParseFailure {
index: usize,
reason: String,
},
RowSchemaRejected {
index: usize,
reason: String,
},
}Variants§
BodyNotJsonArray
Body did not deserialize to a JSON array.
BatchTooLarge
rows.len() > config.max_rows.
RowParseFailure
Parse / shape failure for row index.
RowSchemaRejected
AnalyticsSchemaRegistry rejected the row at index.
Implementations§
Trait Implementations§
Source§impl Clone for BatchInsertError
impl Clone for BatchInsertError
Source§fn clone(&self) -> BatchInsertError
fn clone(&self) -> BatchInsertError
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 BatchInsertError
impl Debug for BatchInsertError
Source§impl PartialEq for BatchInsertError
impl PartialEq for BatchInsertError
Source§fn eq(&self, other: &BatchInsertError) -> bool
fn eq(&self, other: &BatchInsertError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BatchInsertError
Auto Trait Implementations§
impl Freeze for BatchInsertError
impl RefUnwindSafe for BatchInsertError
impl Send for BatchInsertError
impl Sync for BatchInsertError
impl Unpin for BatchInsertError
impl UnsafeUnpin for BatchInsertError
impl UnwindSafe for BatchInsertError
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request