Make these types public

This commit is contained in:
Matthias Beyer 2015-11-24 20:04:24 +01:00
parent cbd85b3d8e
commit 4af971a5d0

View file

@ -3,8 +3,8 @@ use std::result::Result;
use super::ModuleError; use super::ModuleError;
use storage::backend::{StorageBackend, StorageBackendError}; use storage::backend::{StorageBackend, StorageBackendError};
type CommandError = Result<ModuleError, StorageBackendError>; pub type CommandError = Result<ModuleError, StorageBackendError>;
type CommandResult = Result<(), Result<ModuleError, CommandError>>; pub type CommandResult = Result<(), Result<ModuleError, CommandError>>;
pub trait ExecutableCommand { pub trait ExecutableCommand {
fn get_callname() -> &'static str; fn get_callname() -> &'static str;