Enum sea_orm::TryGetError
source · pub enum TryGetError {
DbErr(DbErr),
Null(String),
}
Expand description
An error from trying to get a row from a Model
Variants§
DbErr(DbErr)
A database error was encountered as defined in crate::DbErr
Null(String)
A null value was encountered
Trait Implementations§
source§impl Debug for TryGetError
impl Debug for TryGetError
source§impl From<DbErr> for TryGetError
impl From<DbErr> for TryGetError
source§fn from(e: DbErr) -> TryGetError
fn from(e: DbErr) -> TryGetError
Converts to this type from the input type.
source§impl From<TryGetError> for DbErr
impl From<TryGetError> for DbErr
source§fn from(e: TryGetError) -> DbErr
fn from(e: TryGetError) -> DbErr
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for TryGetError
impl Send for TryGetError
impl Sync for TryGetError
impl Unpin for TryGetError
impl !UnwindSafe for TryGetError
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