e047f567af2aec2390335b6745dca109aa2b00bf
1 // A generic result of type 'T'.
2 pub type Result
<T
> = std
::result
::Result
<T
, Box
<dyn std
::error
::Error
>>;
9 impl std
::fmt
::Display
for Error
{
10 fn fmt(&self, f
: &mut std
::fmt
::Formatter
<'_
>) -> std
::fmt
::Result
{
11 write!(f
, "Error: {}", &self.message
)
15 impl std
::error
::Error
for Error {}