Make these types public
This commit is contained in:
parent
cbd85b3d8e
commit
4af971a5d0
1 changed files with 2 additions and 2 deletions
|
@ -3,8 +3,8 @@ use std::result::Result;
|
|||
use super::ModuleError;
|
||||
use storage::backend::{StorageBackend, StorageBackendError};
|
||||
|
||||
type CommandError = Result<ModuleError, StorageBackendError>;
|
||||
type CommandResult = Result<(), Result<ModuleError, CommandError>>;
|
||||
pub type CommandError = Result<ModuleError, StorageBackendError>;
|
||||
pub type CommandResult = Result<(), Result<ModuleError, CommandError>>;
|
||||
|
||||
pub trait ExecutableCommand {
|
||||
fn get_callname() -> &'static str;
|
||||
|
|
Loading…
Reference in a new issue