BackendOperationResult: Add optional type parameter
This commit is contained in:
parent
d35e89f27c
commit
9a0cc75c6f
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ use storage::parser::{FileHeaderParser, Parser, ParserError};
|
|||
use module::Module;
|
||||
use runtime::Runtime;
|
||||
|
||||
pub type BackendOperationResult = Result<(), StorageBackendError>;
|
||||
pub type BackendOperationResult<T = ()> = Result<T, StorageBackendError>;
|
||||
|
||||
pub struct StorageBackend {
|
||||
basepath: String,
|
||||
|
|
Loading…
Reference in a new issue