pub enum ManagerError {
DbPath(AgentError),
DbOpen(Error),
DbInit(Error),
}Expand description
Errors that can occur while constructing a ChatbotManager.
Variants§
Trait Implementations§
Source§impl Debug for ManagerError
impl Debug for ManagerError
Source§impl Display for ManagerError
impl Display for ManagerError
Source§impl Error for ManagerError
impl Error for ManagerError
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<AgentError> for ManagerError
impl From<AgentError> for ManagerError
Source§fn from(source: AgentError) -> Self
fn from(source: AgentError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ManagerError
impl !UnwindSafe for ManagerError
impl Freeze for ManagerError
impl Send for ManagerError
impl Sync for ManagerError
impl Unpin for ManagerError
impl UnsafeUnpin for ManagerError
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