Enum structsy::StructsyError
source · pub enum StructsyError {
PersyError(PersyError),
StructAlreadyDefined(String),
StructNotDefined(String),
IOError,
PoisonedLock,
MigrationNotSupported(String),
InvalidId,
ValueChangeError(String),
TypeError(String),
}
Expand description
All the possible Structsy errors
Variants§
PersyError(PersyError)
StructAlreadyDefined(String)
StructNotDefined(String)
IOError
PoisonedLock
MigrationNotSupported(String)
InvalidId
ValueChangeError(String)
TypeError(String)
Trait Implementations§
source§impl Debug for StructsyError
impl Debug for StructsyError
source§impl Display for StructsyError
impl Display for StructsyError
source§impl Error for StructsyError
impl Error for StructsyError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 StructsyError
impl From<Error> for StructsyError
source§fn from(_err: IOError) -> StructsyError
fn from(_err: IOError) -> StructsyError
Converts to this type from the input type.
source§impl<T: Into<PersyError>> From<PE<T>> for StructsyError
impl<T: Into<PersyError>> From<PE<T>> for StructsyError
source§fn from(err: PE<T>) -> StructsyError
fn from(err: PE<T>) -> StructsyError
Converts to this type from the input type.
source§impl<T> From<PoisonError<T>> for StructsyError
impl<T> From<PoisonError<T>> for StructsyError
source§fn from(_err: PoisonError<T>) -> StructsyError
fn from(_err: PoisonError<T>) -> StructsyError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for StructsyError
impl Send for StructsyError
impl Sync for StructsyError
impl Unpin for StructsyError
impl !UnwindSafe for StructsyError
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