Enum sea_orm::TryGetError
source · [−]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
sourceimpl Debug for TryGetError
impl Debug for TryGetError
sourceimpl From<TryGetError> for DbErr
impl From<TryGetError> for DbErr
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more