Enum sea_orm_rocket::Error [−][src]
pub enum Error<A, B = A> {
Init(A),
Get(B),
Config(Error),
}Expand description
A general error type for use by Pool
implementors and returned by the Connection request
guard.
Variants
Init(A)
An error that occured during database/pool initialization.
Get(B)
An error that ocurred while retrieving a connection from the pool.
Config(Error)
Tuple Fields
0: ErrorA Figment configuration error.
Trait Implementations
Auto Trait Implementations
impl<A, B = A> !RefUnwindSafe for Error<A, B>
impl<A, B = A> !UnwindSafe for Error<A, B>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self into a collection.
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
