pub enum BatcherError {
Pg(Error),
Pool(PoolError),
CreatePool(CreatePoolError),
Serialization(Error),
Io(Error),
}Variants§
Trait Implementations§
Source§impl Debug for BatcherError
impl Debug for BatcherError
Source§impl Display for BatcherError
impl Display for BatcherError
Source§impl Error for BatcherError
impl Error for BatcherError
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<CreatePoolError<ConfigError>> for BatcherError
impl From<CreatePoolError<ConfigError>> for BatcherError
Source§fn from(source: CreatePoolError) -> Self
fn from(source: CreatePoolError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for BatcherError
impl From<Error> for BatcherError
Source§impl From<Error> for BatcherError
impl From<Error> for BatcherError
Auto Trait Implementations§
impl !RefUnwindSafe for BatcherError
impl !UnwindSafe for BatcherError
impl Freeze for BatcherError
impl Send for BatcherError
impl Sync for BatcherError
impl Unpin for BatcherError
impl UnsafeUnpin for BatcherError
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