diff options
| author | C. Morgan Hamill <me@cmhamill.org> | 2015-03-20 13:46:32 +0100 |
|---|---|---|
| committer | C. Morgan Hamill <me@cmhamill.org> | 2015-03-20 13:58:59 +0100 |
| commit | d3f5ca027545db5c0e54ceb758bcd4e27e2ce003 (patch) | |
| tree | 5d8a27b7df16077f2aeb083250451677ed8615bb /src/lib.rs | |
| parent | fb76ee5ec2368c6f36d8a4f73234e614ee6ca0d0 (diff) | |
| download | mail-d3f5ca027545db5c0e54ceb758bcd4e27e2ce003.tar.gz | |
Implement `Error` for `NotmuchStatus`.
Entails implementation of `ToStr` and `Display`, also.
Note that the `to_str()` method uses the `to_static_str()` method on the
`ToStaticStr` trait internally --- this is how I expect to use the
latter. This lets me provide a uniform `to_str()` method in the rest of
the API, while transparently handling the differences between C string
lifetimes.
Diffstat (limited to 'src/lib.rs')
0 files changed, 0 insertions, 0 deletions
