pub enum AppServiceError {
InvalidConfig(String),
IOError(Error),
MarineError(MarineError),
WasmBackendError(WasmBackendError),
CreateDir {
err: Error,
path: PathBuf,
},
ConfigParseError(String),
}
Variants§
InvalidConfig(String)
An error related to config parsing.
IOError(Error)
Various errors related to file i/o.
MarineError(MarineError)
Marine errors.
WasmBackendError(WasmBackendError)
CreateDir
Directory creation failed
ConfigParseError(String)
Errors related to malformed config.
Trait Implementations§
source§impl Debug for AppServiceError
impl Debug for AppServiceError
source§impl Display for AppServiceError
impl Display for AppServiceError
source§impl Error for AppServiceError
impl Error for AppServiceError
1.30.0 · source§fn 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 · 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 AppServiceError
impl From<Error> for AppServiceError
source§impl From<Error> for AppServiceError
impl From<Error> for AppServiceError
source§impl From<Infallible> for AppServiceError
impl From<Infallible> for AppServiceError
source§fn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.
source§impl From<MarineError> for AppServiceError
impl From<MarineError> for AppServiceError
source§fn from(err: MarineError) -> Self
fn from(err: MarineError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AppServiceError
impl !RefUnwindSafe for AppServiceError
impl Send for AppServiceError
impl Sync for AppServiceError
impl Unpin for AppServiceError
impl !UnwindSafe for AppServiceError
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
source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self
file descriptor.source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self
file descriptor. Read moresource§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more