pub enum EntityError {
IndexNotFound(usize),
HandleNotFound(usize),
ClassIdNotFound(i32),
ClassNameNotFound(String),
PropertyNameNotFound(String, String, String),
FieldPathNotFound(SerializerError),
}Variants§
IndexNotFound(usize)
HandleNotFound(usize)
ClassIdNotFound(i32)
ClassNameNotFound(String)
PropertyNameNotFound(String, String, String)
FieldPathNotFound(SerializerError)
Trait Implementations§
Source§impl Debug for EntityError
impl Debug for EntityError
Source§impl Display for EntityError
impl Display for EntityError
Source§impl Error for EntityError
impl Error for EntityError
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<EntityError> for ParserError
impl From<EntityError> for ParserError
Source§fn from(source: EntityError) -> Self
fn from(source: EntityError) -> Self
Converts to this type from the input type.
Source§impl From<SerializerError> for EntityError
impl From<SerializerError> for EntityError
Source§fn from(source: SerializerError) -> Self
fn from(source: SerializerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EntityError
impl RefUnwindSafe for EntityError
impl Send for EntityError
impl Sync for EntityError
impl Unpin for EntityError
impl UnwindSafe for EntityError
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