Struct gj::io::Error
[−]
[src]
pub struct Error<S> { pub state: S, pub error: Error, }
A ::std::io::Error
that also carries along some state. Useful for tasks from which you want to
return the state in both the error and the success cases, like Promise<S, Error<S>>
.
Fields
state: S
error: Error