From c1f79b40cf704cafc807250b177fc7d3444fe54f Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 8 Sep 2020 00:35:17 +0200 Subject: Make `Application` and `Sandbox` return a `Result` --- src/result.rs | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/result.rs (limited to 'src/result.rs') diff --git a/src/result.rs b/src/result.rs new file mode 100644 index 00000000..2f05a6a9 --- /dev/null +++ b/src/result.rs @@ -0,0 +1,6 @@ +use crate::Error; + +/// The result of running an [`Application`]. +/// +/// [`Application`]: trait.Application.html +pub type Result = std::result::Result<(), Error>; -- cgit