Fix clippy warnings
Some checks failed
Test / verify-generated-code (pull_request) Successful in 8m9s
Test / test (pull_request) Successful in 7m54s
Test / lint (pull_request) Failing after 3m21s

This commit is contained in:
GW_MC
2025-11-19 19:27:43 +08:00
parent 43c6b54ebd
commit 6d1888e6c3
6 changed files with 18 additions and 35 deletions

View File

@@ -4,6 +4,7 @@ pub mod sqlite;
use async_trait::async_trait;
use shared::db_type::DBType;
use std::error::Error;
use std::future::Future;
use std::{pin::Pin, sync::Arc};
use url::Host;
@@ -55,5 +56,5 @@ pub trait DBInfo<T> {
where
Self: Sized;
async fn get_db_container_config_info(&self) -> DBConfigInfoType;
fn get_unstarted_container(&self) -> Result<UnStartedContainer, ()>;
fn get_unstarted_container(&self) -> Result<UnStartedContainer, Box<dyn Error>>;
}