pub enum LegacyServiceError {
Io(Error),
Config(String),
Execution(String),
}👎Deprecated since 0.1.0: Use ServiceError instead
Expand description
Legacy error type for backwards compatibility
Variants§
Io(Error)
👎Deprecated since 0.1.0: Use ServiceError instead
Config(String)
👎Deprecated since 0.1.0: Use ServiceError instead
Execution(String)
👎Deprecated since 0.1.0: Use 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
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 UnsafeUnpin 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