#[repr(i32)]pub enum MigrateError {
NoError = 0,
ErrUnknownSchemaVersion = 1,
ErrIncompleteSchemaVersionCoverage = 3,
}Expand description
Used when type == Error
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MigrateError
impl Clone for MigrateError
Source§fn clone(&self) -> MigrateError
fn clone(&self) -> MigrateError
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 MigrateError
impl Debug for MigrateError
Source§impl Default for MigrateError
impl Default for MigrateError
Source§fn default() -> MigrateError
fn default() -> MigrateError
Returns the “default value” for a type. Read more
Source§impl From<MigrateError> for i32
impl From<MigrateError> for i32
Source§fn from(value: MigrateError) -> i32
fn from(value: MigrateError) -> i32
Converts to this type from the input type.
Source§impl Hash for MigrateError
impl Hash for MigrateError
Source§impl Ord for MigrateError
impl Ord for MigrateError
Source§fn cmp(&self, other: &MigrateError) -> Ordering
fn cmp(&self, other: &MigrateError) -> 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 MigrateError
impl PartialEq for MigrateError
Source§impl PartialOrd for MigrateError
impl PartialOrd for MigrateError
impl Copy for MigrateError
impl Eq for MigrateError
impl StructuralPartialEq for MigrateError
Auto Trait Implementations§
impl Freeze for MigrateError
impl RefUnwindSafe for MigrateError
impl Send for MigrateError
impl Sync for MigrateError
impl Unpin for MigrateError
impl UnwindSafe for MigrateError
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