pub enum AppServiceError {
InvalidConfig(String),
IOError(IOError),
MarineError(MarineError),
CreateDir {
err: IOError,
path: PathBuf,
},
ConfigParseError(String),
}
Variants
InvalidConfig(String)
An error related to config parsing.
IOError(IOError)
Various errors related to file i/o.
MarineError(MarineError)
Marine errors.
CreateDir
Directory creation failed
ConfigParseError(String)
Errors related to malformed config.
Trait Implementations
sourceimpl Debug for AppServiceError
impl Debug for AppServiceError
sourceimpl Display for AppServiceError
impl Display for AppServiceError
sourceimpl Error for AppServiceError
impl Error for AppServiceError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<Error> for AppServiceError
impl From<Error> for AppServiceError
sourceimpl From<Error> for AppServiceError
impl From<Error> for AppServiceError
sourceimpl From<Infallible> for AppServiceError
impl From<Infallible> for AppServiceError
sourcefn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.
sourceimpl From<MarineError> for AppServiceError
impl From<MarineError> for AppServiceError
sourcefn from(err: MarineError) -> Self
fn from(err: MarineError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for AppServiceError
impl Send for AppServiceError
impl Sync for AppServiceError
impl Unpin for AppServiceError
impl !UnwindSafe for AppServiceError
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