pub enum SchemaDiffError {
ParseError(String),
ComparisonError(String),
InvalidFormat(String),
IoError(Error),
JsonError(Error),
ProtobufError(String),
}
Expand description
Represents errors that can occur during schema analysis operations
This enum covers various error cases that might occur during schema parsing, comparison, and validation operations.
Variants§
ParseError(String)
Error that occurs during schema parsing
ComparisonError(String)
Error that occurs during schema comparison
InvalidFormat(String)
Error that occurs when an invalid schema format is provided
IoError(Error)
Error that occurs during file I/O operations
JsonError(Error)
Error that occurs during JSON parsing
ProtobufError(String)
Error that occurs during Protobuf operations
Trait Implementations§
Source§impl Debug for SchemaDiffError
impl Debug for SchemaDiffError
Source§impl Display for SchemaDiffError
impl Display for SchemaDiffError
Source§impl Error for SchemaDiffError
impl Error for SchemaDiffError
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()
Source§impl From<Error> for SchemaDiffError
impl From<Error> for SchemaDiffError
Auto Trait Implementations§
impl Freeze for SchemaDiffError
impl !RefUnwindSafe for SchemaDiffError
impl Send for SchemaDiffError
impl Sync for SchemaDiffError
impl Unpin for SchemaDiffError
impl !UnwindSafe for SchemaDiffError
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