pub enum LegacyServiceError {
AlreadyRunning,
NotRunning,
StartupFailed(String),
ShutdownFailed(String),
Timeout,
Interrupted,
}👎Deprecated since 0.7.0: Use unified::ServiceError instead
Expand description
Service error enumeration (LEGACY - deprecated)
Use unified::ServiceError instead
Variants§
AlreadyRunning
👎Deprecated since 0.7.0: Use unified::ServiceError instead
NotRunning
👎Deprecated since 0.7.0: Use unified::ServiceError instead
StartupFailed(String)
👎Deprecated since 0.7.0: Use unified::ServiceError instead
ShutdownFailed(String)
👎Deprecated since 0.7.0: Use unified::ServiceError instead
Timeout
👎Deprecated since 0.7.0: Use unified::ServiceError instead
Interrupted
👎Deprecated since 0.7.0: Use unified::ServiceError instead
Trait Implementations§
Source§impl Debug for LegacyServiceError
impl Debug for LegacyServiceError
Source§impl Display for LegacyServiceError
impl Display for LegacyServiceError
Source§impl Error for LegacyServiceError
impl Error for LegacyServiceError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for LegacyServiceError
impl RefUnwindSafe for LegacyServiceError
impl Send for LegacyServiceError
impl Sync for LegacyServiceError
impl Unpin for LegacyServiceError
impl UnwindSafe for LegacyServiceError
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