#[repr(i32)]pub enum QueryError {
NoError = 0,
ErrUnknownSchemaVersion = 1,
ErrObsoleteSchemaVersion = 2,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for QueryError
impl Clone for QueryError
Source§fn clone(&self) -> QueryError
fn clone(&self) -> QueryError
Returns a duplicate of the value. Read more
1.0.0 · 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 QueryError
impl Debug for QueryError
Source§impl Default for QueryError
impl Default for QueryError
Source§fn default() -> QueryError
fn default() -> QueryError
Returns the “default value” for a type. Read more
Source§impl From<QueryError> for i32
impl From<QueryError> for i32
Source§fn from(value: QueryError) -> i32
fn from(value: QueryError) -> i32
Converts to this type from the input type.
Source§impl Hash for QueryError
impl Hash for QueryError
Source§impl Ord for QueryError
impl Ord for QueryError
Source§fn cmp(&self, other: &QueryError) -> Ordering
fn cmp(&self, other: &QueryError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for QueryError
impl PartialEq for QueryError
Source§impl PartialOrd for QueryError
impl PartialOrd for QueryError
impl Copy for QueryError
impl Eq for QueryError
impl StructuralPartialEq for QueryError
Auto Trait Implementations§
impl Freeze for QueryError
impl RefUnwindSafe for QueryError
impl Send for QueryError
impl Sync for QueryError
impl Unpin for QueryError
impl UnwindSafe for QueryError
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> 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