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 module::Module;
|
||||||
use runtime::Runtime;
|
use runtime::Runtime;
|
||||||
|
|
||||||
pub type BackendOperationResult = Result<(), StorageBackendError>;
|
pub type BackendOperationResult<T = ()> = Result<T, StorageBackendError>;
|
||||||
|
|
||||||
pub struct StorageBackend {
|
pub struct StorageBackend {
|
||||||
basepath: String,
|
basepath: String,
|
||||||
|
|
Loading…
Reference in a new issue