pub enum GetServiceError {
LockPoisoned,
NotFound(SmolStr),
FailDowncast(SmolStr),
FailConstruct(SmolStr),
FailRegister(RegisterError),
}Variants§
LockPoisoned
NotFound(SmolStr)
FailDowncast(SmolStr)
FailConstruct(SmolStr)
FailRegister(RegisterError)
Trait Implementations§
Source§impl Debug for GetServiceError
impl Debug for GetServiceError
Source§impl Display for GetServiceError
impl Display for GetServiceError
Source§impl Error for GetServiceError
impl Error for GetServiceError
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()
Source§impl<T> From<PoisonError<T>> for GetServiceError
impl<T> From<PoisonError<T>> for GetServiceError
Source§fn from(_: PoisonError<T>) -> Self
fn from(_: PoisonError<T>) -> Self
Converts to this type from the input type.
Source§impl From<RegisterError> for GetServiceError
impl From<RegisterError> for GetServiceError
Source§fn from(e: RegisterError) -> Self
fn from(e: RegisterError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetServiceError
impl RefUnwindSafe for GetServiceError
impl Send for GetServiceError
impl Sync for GetServiceError
impl Unpin for GetServiceError
impl UnwindSafe for GetServiceError
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