Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrise committed Jan 19, 2025
1 parent 521e3cb commit 8146a8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/base/src/terminable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ use async_trait::async_trait;

#[async_trait]
pub trait Terminable {
type Result;
async fn terminate(&self) -> Self::Result;
type Error;
async fn terminate(&self) -> Result<(), Self::Error>;
}

0 comments on commit 8146a8f

Please sign in to comment.