add from impl
This commit is contained in:
parent
e33089d6dd
commit
54cdd12603
|
@ -74,6 +74,12 @@ impl ServiceError {
|
|||
}
|
||||
}
|
||||
|
||||
impl From<super::DynError> for ServiceError {
|
||||
fn from(err: super::DynError) -> Self {
|
||||
Self::Service(err)
|
||||
}
|
||||
}
|
||||
|
||||
pub enum ServiceRuntime {
|
||||
FromParent(runtime::Handle),
|
||||
Custom(runtime::Runtime),
|
||||
|
|
Loading…
Reference in New Issue