12221fb8a2d11f45e65a7883b55acd7f8edd9353
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
{ }