Enum uclicious::error::UclSchemaErrorType
source · pub enum UclSchemaErrorType {
Ok,
TypeMismatch,
InvalidSchema,
MissingProperty,
Constraint,
MissingDependency,
Other,
}
Variants§
Implementations§
source§impl UclSchemaErrorType
impl UclSchemaErrorType
pub fn from_code(num: i32, desc: String) -> UclSchemaError
Trait Implementations§
source§impl Clone for UclSchemaErrorType
impl Clone for UclSchemaErrorType
source§fn clone(&self) -> UclSchemaErrorType
fn clone(&self) -> UclSchemaErrorType
Returns a copy 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 UclSchemaErrorType
impl Debug for UclSchemaErrorType
source§impl PartialEq<UclSchemaErrorType> for UclSchemaErrorType
impl PartialEq<UclSchemaErrorType> for UclSchemaErrorType
source§fn eq(&self, other: &UclSchemaErrorType) -> bool
fn eq(&self, other: &UclSchemaErrorType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UclSchemaErrorType
impl StructuralEq for UclSchemaErrorType
impl StructuralPartialEq for UclSchemaErrorType
Auto Trait Implementations§
impl RefUnwindSafe for UclSchemaErrorType
impl Send for UclSchemaErrorType
impl Sync for UclSchemaErrorType
impl Unpin for UclSchemaErrorType
impl UnwindSafe for UclSchemaErrorType
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