pub enum LocalInfileError {
PathIsNotInTheWhiteList(String),
ReadError(Error),
NoHandler,
OtherError(Box<dyn Error + Send + Sync + 'static>),
}
Variants§
PathIsNotInTheWhiteList(String)
ReadError(Error)
NoHandler
OtherError(Box<dyn Error + Send + Sync + 'static>)
Implementations§
Trait Implementations§
Source§impl Debug for LocalInfileError
impl Debug for LocalInfileError
Source§impl Display for LocalInfileError
impl Display for LocalInfileError
Source§impl Error for LocalInfileError
impl Error for LocalInfileError
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<Error> for LocalInfileError
impl From<Error> for LocalInfileError
Source§impl From<LocalInfileError> for DriverError
impl From<LocalInfileError> for DriverError
Source§fn from(source: LocalInfileError) -> Self
fn from(source: LocalInfileError) -> Self
Converts to this type from the input type.
Source§impl From<LocalInfileError> for Error
impl From<LocalInfileError> for Error
Source§fn from(err: LocalInfileError) -> Self
fn from(err: LocalInfileError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LocalInfileError
impl !RefUnwindSafe for LocalInfileError
impl Send for LocalInfileError
impl Sync for LocalInfileError
impl Unpin for LocalInfileError
impl !UnwindSafe for LocalInfileError
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